create a lua script in creatureScripts and put this:
Lua:
function onKill(cid, target)
local creature = "Demon"
if getCreatureName(target) == creature and isMonster(target) then
local loot = doCreatureSetDropLoot(target, 2195) --boots of haste
doSetItemSpecialDescription(loot, "Demon Boots of Haste")
end
return TRUE
end
Put this in creaturescripts.xml:
Lua:
<event type="kill" name="Loot" event="script" value="SCRIPT_NAME.lua"/>
Add this in login.lua
Lua:
registerCreatureEvent(cid, "Loot")
Later, add this in the monster-file (in this case, in demon.xml)
After </flags> add:
Lua:
<script>
<event name="Loot"/>
</script>
That's all
@Kekox!
You're right! my bad! xD fast writing