adisyama
New Member
- Joined
- Jan 11, 2010
- Messages
- 11
- Reaction score
- 0
Hello, as i write in title, my spells are removing paralyze only when i'm standing still. Is that possible to change it? I want my spells to remove paralyze any time for example when i run.
There is example of my exura vita spell.
Thanks in advice for help
.
There is example of my exura vita spell.
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)
setHealingFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 5, 5, 10, 12)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
Thanks in advice for help