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

x item gives xx% hp or mana

Robbiet6

New Member
Joined
Feb 22, 2009
Messages
83
Reaction score
1
Just wondering does anybody have or can create a script for an item so basicaly.
Wilst wearing that item u get a percantage more of ur hp or mana.

For example:
I have 1000 mana
i wear the item giving 25% more mana i get 1250
i take the item of and it goes back to 1000

will rep if you can let me use it thanks.
 
In items.xml add this line for the item:

XML:
		<attribute key="maxManaPercent" value="125" />
And if it's not there already, add the item in movements.xml

For HP, the attribute key is maxHealthPercent/maxHitpointsPercent.
 
Sorry to be a pain but cant you write me out like a foruma for the movements.xml i sorta tryed it but nothing happens in game so cant you write me correct one that i can use in game please.
 
Code:
	<movevent type="Equip" itemid="[B][COLOR="red"]7884[/COLOR][/B]" slot="[B][COLOR="red"]armor[/COLOR][/B]" event="function" value="onEquipItem"/>
	<movevent type="DeEquip" itemid="[B][COLOR="red"]7884[/COLOR][/B]" slot="[B][COLOR="red"]armor[/COLOR][/B]" event="function" value="onDeEquipItem"/>
 
Back
Top