movements.xml:
rdm.lua:
The problem is that during the setting of an item function is performed three times.
Gets 3 crystal cions ..
Code:
<movevent type="Equip" itemid="12642" slot="armor" event="script" value="rdm.lua"/>
rdm.lua:
Code:
function onEquip(cid, item, slot)
doPlayerAddItem(cid, 2160, 1)
return true
end
The problem is that during the setting of an item function is performed three times.
Gets 3 crystal cions ..