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

[Request] Put on/off change skill

olausson

New Member
Joined
Jun 1, 2008
Messages
19
Reaction score
0
As topic says.
When you put for an example Paladin Armor at armor position.
You're skill should be changed to 93, if you had 91.
Anyone know how to make this working?.. Would be wonderful.
I'm pretty sure it quiet easy, but im not a scripter...
 
It is in both, TAGS and TRUNK. ; o

<attribute key="skillSword" value="4"/>

in items.xml ofc

#Edit

If you want create new item with it, you need also add this to movements.xml:
Code:
	<movevent event="Equip" itemid="2212" slot="ring" function="onEquipItem"/>
	<movevent event="DeEquip" itemid="2212" slot="ring" function="onDeEquipItem"/>

Change itemid ofc to your :p And. As slot you can set: head, necklace, backpack, armor, left-hand, right-hand, two-handed, legs, feet, ring, ammo
 
It is in both, TAGS and TRUNK. ; o

<attribute key="skillSword" value="4"/>

in items.xml ofc

#Edit

If you want create new item with it, you need also add this to movements.xml:
Code:
	<movevent event="Equip" itemid="2212" slot="ring" function="onEquipItem"/>
	<movevent event="DeEquip" itemid="2212" slot="ring" function="onDeEquipItem"/>

Change itemid ofc to your :p And. As slot you can set: head, necklace, backpack, armor, left-hand, right-hand, two-handed, legs, feet, ring, ammo

Thanks works!..
What is the attribute for magic level?
 
Magic level attribute:
Code:
<attribute key="magicPointsPercent" value="300"/>
if you have Value = 90, your magic level will decrease by 10%
If value = 110 It will increase your magic level by 10 %
if value = 200 It will increase your magic level by dubbel it (if magic level = 30, it will become 60)
 
Back
Top