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

Armor regenerate mana and health points.

Kekox

Well-Known Member
Joined
Apr 4, 2009
Messages
1,265
Reaction score
62
Location
Venezuela
How can I do it?..

I wand an specifically set that regenerate me mana and health points... like a healing ring..
 
Use this attributes, in items.xml.

Code:
		<attribute key="healthGain" value="1"/>
		<attribute key="healthTicks" value="1000"/>
		<attribute key="manaGain" value="4"/>
		<attribute key="manaTicks" value="1000"/>

Of course, change them as the way you want.
 
I did that but it doesn't work.. Haven't I to add something in movements.xml or weapons.xml?
I heard about something like that..
 
This is ring of healing movement:
Code:
	<movevent type="Equip" itemid="2214" slot="ring" event="function" value="onEquipItem"/>
	<movevent type="Equip" itemid="2216" slot="ring" event="function" value="onEquipItem"/>

This is magic plate armor movement:
Code:
	<movevent type="Equip" itemid="2472" slot="armor" event="function" value="onEquipItem">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin" showInDescription="0"/>
	</movevent>
	<movevent type="DeEquip" itemid="2472" slot="armor" event="function" value="onDeEquipItem"/>
 
In movements.xml I got something like this:
Code:
	<!-- vip -->
	<movevent type="Equip" itemid="2662" slot="head" event="function" value="onEquipItem"/>
	<movevent type="Equip" itemid="8865" slot="armor" event="function" value="onEquipItem"/>
	<movevent type="Equip" itemid="2504" slot="legs" event="function" value="onEquipItem"/>
	<movevent type="Equip" itemid="2641" slot="feet" event="function" value="onEquipItem"/>

Its my VIP set.. regenerate mana and health points but it doesn't work.. >.<
 
Code:
<movevent type="Equip" itemid="2472" slot="armor" event="function" value="onEquipItem">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin" showInDescription="0"/>
	</movevent>
	<movevent type="DeEquip" itemid="2472" slot="armor" event="function" value="onDeEquipItem"/>


+

Code:
	<attribute key="healthGain" value="1"/>
		<attribute key="healthTicks" value="1000"/>
		<attribute key="manaGain" value="4"/>
		<attribute key="manaTicks" value="1000"/>


=

Code:
<movevent type="Equip" itemid="2472" slot="armor" event="function" value="onEquipItem">
		<attribute key="healthGain" value="1"/>
		<attribute key="healthTicks" value="1000"/>
		<attribute key="manaGain" value="4"/>
		<attribute key="manaTicks" value="1000"/>		
               <vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin" showInDescription="0"/>
	</movevent>
	<movevent type="DeEquip" itemid="2472" slot="armor" event="function" value="onDeEquipItem"/>



thats my wild guess
 
Code:
<movevent type="Equip" itemid="2472" slot="armor" event="function" value="onEquipItem">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin" showInDescription="0"/>
	</movevent>
	<movevent type="DeEquip" itemid="2472" slot="armor" event="function" value="onDeEquipItem"/>


+

Code:
	<attribute key="healthGain" value="1"/>
		<attribute key="healthTicks" value="1000"/>
		<attribute key="manaGain" value="4"/>
		<attribute key="manaTicks" value="1000"/>


=

Code:
<movevent type="Equip" itemid="2472" slot="armor" event="function" value="onEquipItem">
		<attribute key="healthGain" value="1"/>
		<attribute key="healthTicks" value="1000"/>
		<attribute key="manaGain" value="4"/>
		<attribute key="manaTicks" value="1000"/>		
               <vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin" showInDescription="0"/>
	</movevent>
	<movevent type="DeEquip" itemid="2472" slot="armor" event="function" value="onDeEquipItem"/>



thats my wild guess
This thread is 2 years old, lawl.
 
Back
Top