• 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 Ring increase 150k hp and mana dosent show in bars?

TKO

Syphero Owner!
Joined
Mar 10, 2008
Messages
2,252
Reaction score
27
Location
Sweden
Hello!
I have a ring that i want to increase 150k mana and hp but im not sure if i did right but i added it to items.xml and movement.xml
and it dosent show in the hp and mana bars

scripts:
Code:
	<item id="7708" article="a" name="Evil Containment Ring">
		<attribute key="description" value="Increases 150k mana and health points! See the power in the red ring!"/>
		<attribute key="weight" value="4" />
		<attribute key="slotType" value="ring" />
		<attribute key="healthGain" value="1" />
		<attribute key="healthTicks" value="150000" />
		<attribute key="manaGain" value="1" />
		<attribute key="manaTicks" value="150000" />
		<attribute key="showattributes" value="1"/>
	</item>

movment.xml:
Code:
	<movevent event="DeEquip" itemid="7708" slot="ring" function="onDeEquipItem"/>
	<movevent event="Equip" itemid="7708" slot="ring" level="80" function="onEquipItem">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>	
		<vocation name="Druid"/>
		<vocation name="Elder Druid" showInDescription="0"/>	
		<vocation name="Sorcerer"/>
		<vocation name="Master Sorcerer" showInDescription="0"/>	
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin" showInDescription="0"/>	
	</movevent>
 
i used this <attribute key="maxHealthPoints" value="xxx" />
<attribute key="maxManaPoints" value="xxx" />
dosent work the X i put 150k but it dont work...
 
<attribute key="maxHealthPoints" value="150000" />
<attribute key="maxManaPoints" value="150000" />
i put this!
i added in to movment also dosent work!
 
Lua:
<movevent type="Equip" itemid="xxx" slot="ring" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="xxx" slot="ring" event="function" value="onDeEquipItem"/>

movements.xml
 
Back
Top