DedicatedOT
New Member
Hi,
How come when I set
It nullifies the attributes of the ring itself as defined in items.xml? That is the ring doesn't heal at all...
How come when I set
Lua:
<movevent event="DeEquip" itemid="2121" slot="ring" function="onDeEquip" script="ringofhealing.lua"/>
Lua:
function onEquip(cid, item, var)
doCreatureSay(cid,"Using " .. getItemName(item.itemid) , TALKTYPE_ORANGE_1)
return TRUE
end
function onDeEquip(cid, item, var)
doCreatureSay(cid,"Put your " .. getItemName(item.itemid) .. " back on!", TALKTYPE_ORANGE_1)
return TRUE
end
It nullifies the attributes of the ring itself as defined in items.xml? That is the ring doesn't heal at all...