Warmen ATS
New Member
- Joined
- Apr 13, 2018
- Messages
- 4
- Reaction score
- 1
I'm trying to develop a ring that when equipped it adds attack points to the weapon I'm using. As for example, I am using a magic sword of attack 49, when I equip the ring it would go to 59 attack points and when I remove it, it would return to the original attack. I tried to create this script to put in movements:
function onEquip (cid, item, slot)
weapon = getPlayerWeapon (cid) .uid
darma = getItemAttack (weapon)
doPlayerSendCancel (cid, darma)
return true
end
More did not work, could anyone help me?
function onEquip (cid, item, slot)
weapon = getPlayerWeapon (cid) .uid
darma = getItemAttack (weapon)
doPlayerSendCancel (cid, darma)
return true
end
More did not work, could anyone help me?