Hello,
The script will show you the addition of Skill.
End
The script will show you the addition of Skill.
PHP:
function onUse(cid, item, frompos, item2, topos)
if item.itemid == 2264 then
doPlayerAddSkillTry(cid,5,10000)
if item.type > 1 then
doChangeTypeItem(item.uid,item.type-1)
else
doRemoveItem(item.uid,1)
end
doSendMagicEffect(topos,12)
doPlayerSay(cid,"Shielding UP",1)
else
doRemoveItem(item.uid,1)
end
end
End