Hi there, I need someone to help me out. Whenever I try to write exori frigo it says that it only works on creatures which is fine but not at all. I like the targetting system but I'd also like to use this spell without needing to select a creature.
Here's the spell
~edit
fixed
add
casterTargetOrDirection="1"
to spells.xml
Here's the spell
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 1)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -20, 5, 5, 1.4, 2.1)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
~edit
fixed
add
casterTargetOrDirection="1"
to spells.xml
Last edited: