Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local corpseact = 21012
- local monsters = {"minotaur", "minotaur leader"}
- function onDeath(cid, corpse, killer)
- if not isPlayer(cid) and getCreatureMaster(cid) then
- getName = getCreatureName(cid):lower()
- if isInArray(monsters, getName) then
- corpo = corpse.uid
- doSetItemActionId(corpo, corpseact)
- doItemSetAttribute(corpo, "description", "Summon: "..getName..".")
- doDecayItem(corpo)
- end
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment