Tó. Usa a tag igual a da exura.
function heal(cid, time) a = 0 if a < time then doCreatureAddHealth(cid, getPlayerLevel(cid)) doSendMagicEffect(getCreaturePos(cid), 12) a = a+1 addEvent(heal, 1000, cid, time) return true end return true end function onCastSpell(cid, var) heal(cid, 10) return true end
OBS: Não garanto que funciona. Se não der, posta aqui que tento arrumar.



info
Grupo: Barão
Registrado: 05/10/12
Posts: 245
Reputação: +36
Spell que heala X tempo e heala conforme lv do player
se o player é lv 10 heal igual 10 se o player for lv 100 heal igual a 100