knighters god
Active Member
- Joined
- Feb 14, 2009
- Messages
- 166
- Solutions
- 1
- Reaction score
- 40
I would like to know the easiest way of making a spell.
I don't really understand how to edit this kinda scripts.
And I've seen before that you could edit with numbers where the animation would show like this.
some help with this kinda stuff, I would be grateful.
Thank you.
I don't really understand how to edit this kinda scripts.
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_BIGCLOUDS)
setAttackFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 5, 5, 5, 12)
local area = createCombatArea(AREA_CROSS6X6)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
Code:
{1,1,1,1,1,0,0,1,1,1,1,1
3,0,0,1,1,0,1,1,1,1,1,0
1,1,1,1,1,0,0,1,1,1,1,1}
Thank you.
Last edited: