• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Action] Ring that adds attack to weapon.

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?
 
Back
Top