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

How make this?!!

Abdiel

New Member
Joined
Apr 13, 2008
Messages
385
Reaction score
2
Location
Con Tu Mama / With Your Mom
hello
i want know how to make a item give you a extra mana or health
amm

example:

Blue Robe
Give you 10 Magic levels
Regenerate Your Mana
And I Want ADD 100 Extra Mana

Can you understand???

Please&Tenks :D

PD: Sorry My Bad English
 
items.xml
Code:
          <item id="2656" article="a" name="blue robe">
		<attribute key="description" value="It is a magic robe." />
		<attribute key="weight" value="2200" />
		<attribute key="armor" value="11" />
		<attribute key="slotType" value="body" />
		<attribute key="manaGain" value="20" />
		<attribute key="magiclevelpoints" value="5" />
		<attribute key="manaTicks" value="3000" />	
          </item>

movements.xml
Code:
	<movevent type="Equip" itemid="2656" slot="armor" event="function" value="onEquipItem"> <!-- blue robe -->
	</movevent>
	<movevent type="DeEquip" itemid="2656" slot="armor" event="function" value="onDeEquipItem"/>  <!-- blue robe -->
 
Code:
          <item id="2656" article="a" name="blue robe">
		<attribute key="description" value="It is a magic robe."/>
		<attribute key="weight" value="2200"/>
		<attribute key="armor" value="11"/>
		<attribute key="slotType" value="body"/>
		<attribute key="manaGain" value="20"/>
		<attribute key="manaTicks" value="3000"/>
		<attribute key="magicLevelPoints" value="5"/>
		[B][COLOR="Red"]<attribute key="maxManaPoints" value="100"/>[/COLOR][/B]
          </item>
 
Code:
          <item id="2656" article="a" name="blue robe">
		<attribute key="description" value="It is a magic robe."/>
		<attribute key="weight" value="2200"/>
		<attribute key="armor" value="11"/>
		<attribute key="slotType" value="body"/>
		<attribute key="manaGain" value="20"/>
		<attribute key="manaTicks" value="3000"/>
		<attribute key="magicLevelPoints" value="5"/>
		[B][COLOR="Red"]<attribute key="maxManaPoints" value="100"/>[/COLOR][/B]
          </item>

Very Thanks<333 :D
 
Back
Top Bottom