hoje venho trazer um script que não dropa loot como um aol so que sem precisar usar amuleto e também não e uma bless
então vamos la
Em data / talkactions / scripts / e renome algum arquivo.lua para loot e adicione
function onSay(cid, words, param)
local price = 1000 -- dinheiro que vai custa
if getPlayerStorageValue(cid,1254) > 0 or not doPlayerRemoveMoney(cid, price) then
doPlayerSendTextMessage(cid, 28, "Você, não tem dinheiro suficiente e/ou já tem Anti Drop.")
return true
end
doPlayerSendTextMessage(cid, 27, "Parabéns você comprou Anti Drop, por " .. price .. " gp's")
setPlayerStorageValue(cid, 1254, 1)
return true
end
data/creaturescripts/scripts renome algum arquivo pra antidrop e adicione
function onDeath(cid, deathList)
if getPlayerStorageValue(cid, 1254) > 0 then
setPlayerStorageValue(cid, 1254, 0)
doCreatureSetDropLoot(cid, false)
end
return true
end