andu
Sold 649 scripts, 25 maps and 9 events!
I intend to use two kinds of rings: blessed
and normal
But always then i make a blessed ring, it apear like a normal ring.
I edited items.xml and movements.xml
For blessed:
And for normal:
Normal rings works corectly, but blessed always transform into normal ring.
Always when I equip/deEquip it is normal...
Someone know how to repair this 'bug'?
But always then i make a blessed ring, it apear like a normal ring.
I edited items.xml and movements.xml
For blessed:
Code:
<item id="2202" article="a" name="blessed ring of mana">
<attribute key="weight" value="100"/>
<attribute key="slotType" value="ring"/>
<attribute key="magiclevelpoints" value="1"/>
<attribute key="maxmanapercent" value="10"/>
<attribute key="armor" value="1"/>
</item>
Code:
<movevent type="Equip" itemid="2202" slot="ring" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2202" slot="ring" event="function" value="onDeEquipItem"/>
And for normal:
Code:
<item id="2165" article="a" name="ring of mana">
<attribute key="weight" value="100"/>
<attribute key="slotType" value="ring"/>
<attribute key="magiclevelpoints" value="1"/>
<attribute key="maxmanapoints" value="120"/>
<attribute key="armor" value="-1"/>
</item>
Code:
<movevent type="Equip" itemid="2165" slot="ring" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2165" slot="ring" event="function" value="onDeEquipItem"/>
Normal rings works corectly, but blessed always transform into normal ring.
Always when I equip/deEquip it is normal...
Someone know how to repair this 'bug'?