• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved Custom items aren't giving skill points?

jimmydunphy

New Member
Joined
Aug 9, 2007
Messages
68
Reaction score
3
Location
Nova Scotia Canada
Code:
<item id="2471" article="a" name="Helmet of Achilles">
        <attribute key="description" value="It's the famous Helmet of Achilles." />
        <attribute key="weight" value="3200" />
        <attribute key="armor" value="12" />
        <attribute key="slotType" value="head" />
        <attribute key="skillSword" value="3" />
        <attribute key="skillAxe" value="3" />
        <attribute key="skillClub" value="3" />
        <attribute key="skillShield" value="3" />
        <attribute key="absorbPercentPhysical" value="6" />

Am I doing something wrong here?
When I add just ML for a hat it works fine, but adding these it doesnt work ;/ I'm using TFS 1.2, any help would be appreciated :)
 
Last edited by a moderator:
You need to add the move event tags in movements.xml (both Equip and DeEquip), for reference, these are the master archer's armor tags:

Code:
<movevent event="Equip" itemid="8888" slot="armor" level="100" function="onEquipItem">
    <vocation name="Paladin" />
    <vocation name="Royal Paladin" showInDescription="0" />
</movevent>
<movevent event="DeEquip" itemid="8888" slot="armor" function="onDeEquipItem" />

Just set the correct itemid, slot, level and vocations for your custom items and it should work!
 
Back
Top