Hello everyone!
I will explain in here how you can add special atributes into items
example: A Mystic Turban which will incrase your magic.
Step 1
ok let's start first of all open your Movemements folder and open movements.xml
this is what you have to add
red = changeable to (necklace,body,feet,legs,head)
save movements.xml and close it we are done in it
Step 2
Now we have to open the Items.xml
there you have to place that
red = changeable
This are the attributes which i know so far....
and if you want to set a duration to your item then just put that in to...
red = changeable
I hope this will help!
If there still is a problem then feel free to ask me
I will explain in here how you can add special atributes into items
example: A Mystic Turban which will incrase your magic.
Step 1
ok let's start first of all open your Movemements folder and open movements.xml
this is what you have to add
Code:
<movevent event="Equip" itemid="[COLOR="Red"]2663[/COLOR]" slot="[COLOR="Red"]head[/COLOR]" function="onEquipItem" />
<movevent event="DeEquip" itemid="[COLOR="Red"]2663[/COLOR]" slot="[COLOR="Red"]head[/COLOR]" function="onDeEquipItem" />
red = changeable to (necklace,body,feet,legs,head)
save movements.xml and close it we are done in it
Step 2
Now we have to open the Items.xml
there you have to place that
Code:
<item id="2663" article="a" name="mystic turban">
<attribute key="description" value="Something is strange about this turban."/>
<attribute key="weight" value="850"/>
<attribute key="armor" value="1"/>
<attribute key="slotType" value="head"/>
<attribute [COLOR="Red"]key="increaseMagicPercent" value="10"/>[/COLOR]
</item>
red = changeable
This are the attributes which i know so far....
Code:
incraseMagicPercent
healthGain
healtTicks
manaGain
manaTicks
absorbPercentPhysical
absorbPercentEnergy
absorbPercentPoison
absorbPercentFire
absorbPercentLifeDrain
invisible
skillFist
skillDistance
skillSword
skillClub
skillAxe
manashield
speed
and if you want to set a duration to your item then just put that in to...
Code:
<attribute key="duration" value="[COLOR="Red"]300[/COLOR]"/>
<attribute key="showduration" value="1"/>
<attribute key="decayTo" value="[COLOR="Red"]0[/COLOR]"/>
red = changeable
I hope this will help!
If there still is a problem then feel free to ask me
Last edited: