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

mana ring/health amulet

Doggynub

LUA / C++
Joined
Sep 28, 2008
Messages
2,541
Reaction score
186
i need a mana ring that gives 25% more of the mana and always utamo vita......a health ring that gives 50% of health.

can any one do that??
 
Hello. I can help you.

In items.xml:
PHP:
		<attribute key="weight" value="170"/>
		<attribute key="slotType" value="ring"/>
		<attribute key="maxManaPercent" value="125"/>
                <attribute key="manashield" value="1"/>
value="125" = 25% (100 = 0)

health ring:
PHP:
		<attribute key="weight" value="170"/>
		<attribute key="slotType" value="ring"/>
		<attribute key="maxHealthPercent" value="150"/>

and in moveevents.xml:
PHP:
	<movevent type="Equip" itemid="ID OF MANARING" slot="ring" event="function" value="onEquipItem">
		<vocation name="Sorcerer"/>
		<vocation name="Master Sorcerer" showInDescription="0"/> 
		<vocation name="Druid"/>
		<vocation name="Elder Druid" showInDescription="0"/>
	</movevent>
	<movevent type="DeEquip" itemid="ID OF MANA RING" slot="ring" event="function" value="onDeEquipItem"/>
PHP:
	<movevent type="Equip" itemid="ID OF HEALTHRING" slot="ring" event="function" value="onEquipItem">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/> 
<vocation name="Super Druid"/>
	</movevent>
	<movevent type="DeEquip" itemid="ID OF HEALTHRING" slot="ring" event="function" value="onDeEquipItem"/>8/
 
Last edited:
Back
Top