Tropix
Like a BAuZZ
- Joined
- Jan 6, 2009
- Messages
- 116
- Reaction score
- 4
[Warning - Event::loadScript] Event onPrepareDeath not found (data/creaturescripts/scripts/preparedeath.lua)
Code:
function onDeath(cid, lastHitKiller, mostDamageKiller)
if(isPlayer(cid) and getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == 2196) then
for i = 1, 5 do
doPlayerAddBlessing(cid, i)
end
doCreatureSetDropLoot(cid, false)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYAREA)
doCreatureSay(cid, "Forever Aol!", TALKTYPE_ORANGE_1)
end
return true
end