ralke
(҂ ͠❛ ෴ ͡❛)ᕤ
Hi again, i have this issue when adding zaoan items to items.xml (to fix the wrong ids). For example, here I have snake god's wrisguard:
then I added this code on movements.xml to make the item add atributes, have level requeriement, and vocation restriction.
but It doesnt work, player dont get magic level points raised, there's no level restriction, and vocations restriction doesnt work, how i can fix this? The only idea I have is to fix items.otb but there might be other ways to fix this... Even if I have to use a new script it would be fine, please help!! ^^
thanks in advance
Lua:
<item id="12647" article="a" name="snake god's wristguard">
<attribute key="description" value="It shows your spells and can also shield against attacks when worn." />
<attribute key="weight" value="2800" />
<attribute key="magiclevelpoints" value="3" />
<attribute key="defense" value="14" />
<attribute key="weaponType" value="shield" />
</item>
then I added this code on movements.xml to make the item add atributes, have level requeriement, and vocation restriction.
Lua:
<movevent event="Equip" itemid="12647" slot="shield" level="100" function="onEquipItem">
<vocation id="1" />
<vocation id="5" showInDescription="1" />
<vocation id="2" />
<vocation id="6" showInDescription="1" />
</movevent>
<movevent event="DeEquip" itemid="12647" slot="shield" function="onDeEquipItem"/>
but It doesnt work, player dont get magic level points raised, there's no level restriction, and vocations restriction doesnt work, how i can fix this? The only idea I have is to fix items.otb but there might be other ways to fix this... Even if I have to use a new script it would be fine, please help!! ^^
thanks in advance