• 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!

Lua Item dont recover healt / hp

korff

New Member
Joined
Sep 11, 2009
Messages
78
Reaction score
3
My recover helmet is not working! , Why?
It was suposed to recover 70 HP / MP per Second!


<item id="7458" article="a" name="helmet">
<attribute key="weight" value="1800" />
<attribute key="armor" value="10" />
<attribute key="slotType" value="head" />
<attribute key="healthGain" value="70" />
<attribute key="healthTicks" value="1000" />
<attribute key="manaGain" value="70" />
<attribute key="manaTicks" value="1000" />
</item>

And , the wand is not adding magic level skill points!

<item id="7429" article="a" name="wand">
<attribute key="weight" value="3900" />
<attribute key="weaponType" value="wand" />
<attribute key="magiclevelpoints" value="4" />
<attribute key="shootType" value="holy" />
<attribute key="range" value="7" />
</item>
 
Last edited:
<movevent type="DeEquip" itemid="7458" slot="head" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="7458" slot="head" event="function" value="onEquipItem"/>
still not working!
 
I know this could sound weird.. Did you restart the server? because everything looks fine or maybe follow the guide step by step change
Code:
<movevent type="DeEquip" itemid="7458" slot="head" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="7458" slot="head" event="function" value="onEquipItem"/>

to

Code:
<movevent type="Equip" itemid="7458" slot="head" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="7458" slot="head" event="function" value="onDeEquipItem"/>
 
Now it's working, but the helmet, dont heal player in PZ areas! ? how to make it to heal in PZ Areas?
 
Last edited:
Back
Top