ajuda gente meu serve e o dbz
versão 8.5
o item que esta realando muito e a senzu bean
quero colocar ela para healar 20 mil do life e da mana
eu achei o scripter senzu em data\actions\scripts\other
scripter a baixo
local exhausted_seconds = 0
local exhausted_storagevalue = 2362
function onUse(cid, item, frompos, item2, topos)
if(os.time() > getPlayerStorageValue(cid, exhausted_storagevalue)) then
local mana = getPlayerMaxMana(cid)
local hp = getCreatureMaxHealth(cid)
doPlayerAddMana(cid, mana)
doCreatureAddHealth(cid, hp)
doPlayerSay(cid,"Power is Back!", TALKTYPE_ORANGE_1)
local kolor = 95
doSendAnimatedText(getPlayerPosition(cid),'+'.. mana .. '',kolor)
setPlayerStorageValue(cid, exhausted_storagevalue, os.time() + exhausted_seconds)
doRemoveItem(item.uid, 1)
else
doPlayerSendCancel(cid, "You are exhausted.")
end
end