juansanchez
Advanced OT User
- Joined
- Apr 2, 2015
- Messages
- 223
- Reaction score
- 151
Hey people, i'm trying to create a new spell in my server, but i just can't seem to make it work.
I want to create a Exori Hur like spell, but instead of only 1 exori hur at a time, when you use, it's like 3 exoris hur come out, one followed by the other, and also, i would like it to everytime the exori hur goes out as a Axe, but it only works like the normal one, whatever weapon you use is the one that is coming out.
I'm using this script for it:
I've tried everything, but i just can't make it work, can someone help me?
I'm using Tfs 0.3.7
I want to create a Exori Hur like spell, but instead of only 1 exori hur at a time, when you use, it's like 3 exoris hur come out, one followed by the other, and also, i would like it to everytime the exori hur goes out as a Axe, but it only works like the normal one, whatever weapon you use is the one that is coming out.
I'm using this script for it:
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, TRUE)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_WEAPONTYPE)
setCombatParam(combat, COMBAT_PARAM_USECHARGES, TRUE)
setCombatFormula(combat, COMBAT_FORMULA_SKILL, 0, -60, 1.1, 0)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
I've tried everything, but i just can't make it work, can someone help me?
I'm using Tfs 0.3.7
Last edited: