Yep, I just changed the items id for mine.Morgaroth's heart 100% better for this!
Hello, how to install this script ?Did not see any script for newer version xD
so feel free to use xD
it wont drop any heart if player dies by monster
how it looks like:
View attachment 61094
keep in mind to regist in xml and login lua hehe
LUA:function onDeath(player, corpse, killer, mostDamageKiller, lastHitUnjustified, mostDamageUnjustified) if not killer:isPlayer() then return true end local heart = corpse:addItem(2353, 1) heart:setAttribute(ITEM_ATTRIBUTE_NAME, ''..player:getName().."'s Heart") heart:setAttribute(ITEM_ATTRIBUTE_DESCRIPTION, ''..killer:getName()..' ['..killer:getLevel()..'] has killed '..player:getName()..' ['..player:getLevel()..']') return true end
I just added this to my existing Death event for players.