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

SUPPORT PLEASE rep++

Snakie

New Member
Joined
Apr 15, 2010
Messages
263
Reaction score
4
I wannt to add 20 procent health on my armor what script do use then?
example when i wannt to add 12 physical protection i do this.
<attribute key="absorbPercentPhysical" value="12" />
But what do i do when i wannt to add hp?
Rep++ to the one that helps me!
 
ok then reP++

do that in items.otb go find the item id and paste this line under it
[for mana or health percent]
use maxhealthpercent/maxmanapercent

Code:
<attribute key="maxhealthpercent" value="120" />
percent starts from 100+ so 120 will be 20%

and add this line in movement.xml

Code:
<movevent type="Equip" itemid="xxxx" slot="xxxx" event="function" value="onEquipItem"/>
	<movevent type="DeEquip" itemid="xxxx" slot="xxxx" event="function" value="onDeEquipItem"/>

change "xxx" to item id and item slot
 
Back
Top