Olá galera, preciso de ajuda para colocar cargas no amuleto AOL Red/Black skull, como eu coloco cargas nesse amuleto? (10x cargas)
Script:
function onPrepareDeath(cid, lastHitKiller, mostDamageKiller)
if (getPlayerSlotItem(cid, 2).itemid == 2196) and getPlayerSkullType(cid) >= 4 then
doCreatureSetDropLoot(cid, false)
doPlayerSetLossPercent(cid, PLAYERLOSS_ITEMS, 0)
doPlayerSetLossPercent(cid, PLAYERLOSS_CONTAINERS, 0)
end
return true
end
login.lua
registerCreatureEvent(c