Nightimarez
New Member
- Joined
- Jul 24, 2008
- Messages
- 287
- Reaction score
- 2
PHP:
local loot = 5944
function onKill(cid, target, lastHit)
if (getCreatureSkullType(target) == 5) then
local item = getPlayerItemById(cid, true, loot)
if item.uid == 0 or item.type == 100 then
doPlayerAddItem(cid, loot, 1)
else
doTransformItem(item.uid, loot, item.type + 1)
end
end
return true
end
I would need a script like that, but for every type of skull.
PHP:
skull 6, 20 soul orb.
skull 1, 40 soul orbs.
skull 2, 60 soul orbs.
skull 3, 80 soul orbs.
skull 4, 100 soul orbs.
skull 5, 1 soul orb.