Vamus la: 1º abre a pasta de spells do seu server; 2º va em scripts copie qualquer um e renomeie Para : (antifire)
Apague tudo e coloque isso
local combat = createCombatObject()setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_FIRE)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
Feche e Salve
3º va em spells.xml e adicione isso la
<instant name="Antidote" words="exana pox" selftarget="1" aggressive="0" lvl="10" maglv="2" mana="30" soul="0" exhaustion="1" prem="0" enabled="1" script="antidote.lua"><vocation id="2"/><vocation id="1"/><vocation id="3"/><vocation id="4"/><vocation id="6"/><vocation id="5"/><vocation id="8"/><vocation id="7"/></instant>
E ja Esta Pronto
Vlw