• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

exori vis/frigo

Koncu

New Member
Joined
May 25, 2010
Messages
28
Reaction score
0
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

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:
Back
Top