Frikx
Computer Science
Hello OTLand.
I got here the "exori con" script.
And I want it to shoot like three waves of the exori con.
I tried tons of ways but no one was succesful.
Here there are some tries:
And many other ways.
If someone can help me.
Thanks!
I got here the "exori con" script.
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, true)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ETHEREALSPEAR)
function onGetFormulaValues(cid, level, skill)
return -(((skill + 25) / 3) + (level / 5)), -((skill + 25) + (level / 5)), 0
end
setCombatCallback(combat, CALLBACK_PARAM_SKILLVALUE, "onGetFormulaValues")
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
And I want it to shoot like three waves of the exori con.
I tried tons of ways but no one was succesful.
Here there are some tries:
Code:
function onCastSpell(cid, var)
local charges = 3
repeat
return doCombat(cid, combat, var)
charges = charges - 1
until charges <= 0
end
And many other ways.
If someone can help me.
Thanks!