No script do exura voce bota isso:
data/spells/scripts/healing/light healing.lua:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)
local delay = 10
function onCastSpell(cid, var)
local minformule = getPlayerMagLevel(cid)*6+getPlayerLevel(cid)
local maxformule = getPlayerMagLevel(cid)*7+(getPlayerLevel(cid)*1.5)
if os.time()-getPlayerStorageValue(cid, 66697) < delay then
doPlayerSendCancel(cid, "Voce precisa esperar " .. delay-(os.time()-getPlayerStorageValue(cid, 66697)) .. " segundos para usar a magia novamente.")
else
setPlayerStorageValue(cid, 66697, os.time())
doCreatureAddHealth(cid, math.random(minformule, maxformule))
return doCombat(cid, combat, var)
end
end
E agora voce vai na tag e tira o exausted deixando-o 0:
<instant name="Light Healing" words="exura" lvl="9" mana="20" aggressive="0" selftarget="1" exhaustion="0" needlearn="0" event="script" value="healing/light healing.lua"><vocation id="1"/>
<vocation id="2"/>
<vocation id="3"/>
<vocation id="4"/>
<vocation id="5"/>
<vocation id="6"/>
<vocation id="7"/>
<vocation id="8"/>
</instant>





info
Grupo: Campones
Registrado: 05/06/10
Posts: 12
Reputação: 0
Char no Tibia: Retired
Alguem me fala como colocar exaust em uma unica spell, tipo as do poketibia.
Ex: o player usa um exura, ai ele so vai poder usar exura denovo daqui 10 segundos, mas durante esses 10 segundos, ele pode usar outras magias.
Fico grato desde Já.