niti
New Member
- Joined
- Nov 22, 2009
- Messages
- 258
- Reaction score
- 2
Hello, how do I create a costum spells that shoots with ./x 31
I got this one
I tried to make it with 2 spells but I dunno how to do. I'll give you rep+ / I don't know how to paste the lua in here.. Sorry!
I DON'T WANT THE Z EFFECT I WANT THE X
I got this one
LUA:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 52)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 53)
setAttackFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 6, 6, 7, 12)
local area = createCombatArea(AREA_CROSS5X5)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
I tried to make it with 2 spells but I dunno how to do. I'll give you rep+ / I don't know how to paste the lua in here.. Sorry!
I DON'T WANT THE Z EFFECT I WANT THE X
Last edited by a moderator: