GEnte alguem pode me ajuda a faser 1 tile a reala a mana e a vida, eu vi um tutorial mas nao consegui ;s
Quero Faser Que Um Tile Rala A Mana E A Vida.

vei desses 2 cara ai mesmo q eu nao conseguir por qm poder me ajuda ai add msn neurotiickk@hotmail.com
olha esse aque:
local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, 15 * 1000)
function onUse(cid, item, fromPosition, itemEx, toPosition)
if exhaustion.check(cid,1988) == true then
time = math.ceil(exhaustion.get(cid,1988))
return true
end
doCreatureAddMana(cid, math.random(100000,150000)) -- vc pode mudar o tanto de mana q heala
doCreatureAddHealth(cid, math.random(100000,150000)) -- vc pode mudar o tanto de health q vai heala
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_GREEN)
doChangeTypeItem(item.uid, item.type - 1)
exhaustion.set(cid,1988,1) --aonde ta 1 é o tanto de segundos q fica enxausted vc podi mudar
exhaustion.set(cid, 1990, 1) --repeti o numero de cima
return true
end
ai la em actions.xml vc coloca assim:
<action itemid="5886" event="script" value="buffs/gauze_bandage.lua" allowfaruse="0"/> --vc podi muda o id do item