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

Giving protection to items?

I r New

New Member
Joined
Feb 1, 2008
Messages
137
Reaction score
1
How would I give protection to an armor? Say; Protection against all 5%?

Like, the protection against fire stuff...
I've seen this a lot on OTs and I have no idea O_O

Can someone tell me what the line is? I know where to put it, etc.
 
Items.xml
search for absorbPercentfire
or something :p
copy that line and past underneath your own item example:
Lua:
	<item id="9928" article="a" name="Ataro legs">
		<attribute key="weight" value="1200" />
		<attribute key="absorbPercentDeath" value="5" />
	</item>
 
Lua:
 <item id="9928" article="a" name="Ataro legs">
		<attribute key="weight" value="1200" />
		<attribute key="absorbPercentAll" value="5" />
	</item>
this is supposed to work with 0.3.6

Rep++ if helped :D
 
Last edited:
well Ataro...I'm sure this is not enough, you need also put this in file data/movements/movements.xml:

<movevent type="Equip" itemid="XXXX" slot="X" level="X" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="XXXX" slot="X" event="function" value="onDeEquipItem"/>


BLUE: Your item number;
RED: Your item slot: armor, feet, or legs;
GREEN: Level to use the equipment.

Try it then post here what happend.
 
Back
Top Bottom