MadMOOK
Hoo
- Joined
- Apr 20, 2011
- Messages
- 802
- Reaction score
- 43
Is it possible to add ring duration before decay to 0 in a movement script with onEquip and deEquip inside same script?
Code:
function onEquip(cid, item, slot)
doTransformItem(item.uid, 18528)
if isPremium(cid) then
doPlayerSetSkills(cid, 4.0)
else
doPlayerSetSkills(cid, 3.0)
end
return true
end
function onDeEquip(cid, item, slot)
doTransformItem(item.uid, 18408)
if isPremium(cid) then
doPlayerSetSkills(cid, 1.1)
else
doPlayerSetSkills(cid, 1.0)
end
return true
end