Hello. When one of my players use exana pox the poison don't disappear sometimes and sometimes it disappear directly. Is something wrong with the spell or is it suppose to be that way? TFS 0.4
Antidote
Code:
<instant name="Antidote" words="exana pox" lvl="10" mana="30" aggressive="0" selftarget="1" exhaustion="1500" needlearn="0" event="script" value="healing/antidote.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>
Antidote
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_POISON)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end