• 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 Item who add mana and health after remove.

medium

New Member
Joined
Nov 2, 2011
Messages
54
Reaction score
0
Hi!
I have item who add mana and health after remove. How i can repair it ?
I want , that it give me mana if i have it dress.
Code that item (items.xml) :
Code:
<item id="7886" article="a" name="Special C16 Boots">
        <attribute key="weight" value="800"/>
        <attribute key="slotType" value="feet"/>
        <attribute key="healthGain" value="100"/>
        <attribute key="healthTicks" value="15"/>
        <attribute key="manaGain" value="100"/>
        <attribute key="manaTicks" value="20"/>
        <attribute key="armor" value="6"/>
    </item>
Please help me ;)

-- Updated --
Yes Dragon Ball Serwer ;)
Still need help ;)
 
Last edited by a moderator:
Check movements.xml if there is any entry for the id 7886.

Depending on the server version (which you didnt post) you have to add it like this:
Code:
    <movevent type="Equip" itemid="7886" slot="feet" event="function" value="onEquipItem"/>
    <movevent type="DeEquip" itemid="7886" slot="feet" event="function" value="onDeEquipItem"/>
(This is for 0.3.6 for example)
 
I have it :
Code:
<movevent type="Equip" itemid="7886" level="60" slot="feet" event="function" value="onEquipItem"/>
    <movevent type="DeEquip" itemid="7886" slot="feet" event="function" value="onDeEquipItem"/>
but it doesn't work.
 
So the item gives attributes if you undress it?
Try adding the level="60" to the DeEquip line aswell.
 
Back
Top