Spells!!!
i think exori and exori gran, and others have to use COMBAT_FORMULA_SKILL no COMBAT_FORMULA_LEVELMAGIC.
look scrips that I use:
berserk:
fierce berserk:
groundshaker:
and at last add Enchant Spear
I think the hits are big, so if you'll use think you need to change de damage...
OBS. These scrips wasn't made by me, and i dont remeber where i got.
i think exori and exori gran, and others have to use COMBAT_FORMULA_SKILL no COMBAT_FORMULA_LEVELMAGIC.
look scrips that I use:
berserk:
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_HITAREA)
setCombatFormula(combat, COMBAT_FORMULA_SKILL, 0, 0, 2.4, 0)
local arr = {
{1, 1, 1},
{1, 2, 1},
{1, 1, 1}
}
local area = createCombatArea(arr)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
fierce berserk:
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_HITAREA)
setCombatFormula(combat, COMBAT_FORMULA_SKILL, 0, 0, 5.6, 0)
local arr = {
{1, 1, 1},
{1, 2, 1},
{1, 1, 1}
}
local area = createCombatArea(arr)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
groundshaker:
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 34)
setCombatFormula(combat, COMBAT_FORMULA_SKILL, 0, 0, 2.2, 0)
local arr = {
{0, 0, 1, 1, 1, 0, 0},
{0, 1, 1, 1, 1, 1, 0},
{1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 3, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1},
{0, 1, 1, 1, 1, 1, 0},
{0, 0, 1, 1, 1, 0, 0}
}
local area = createCombatArea(arr)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
and at last add Enchant Spear
Code:
<conjure name="Enchant Spear" words="exeta con" reagentId="2389" conjureId="7367" aggressive="0" conjureCount="1" lvl="45" maglv="1" mana="350" soul="3" prem="1" enabled="1" needlearn="0" function="conjureRune"><vocation name="Paladin"/></conjure>
I think the hits are big, so if you'll use think you need to change de damage...
OBS. These scrips wasn't made by me, and i dont remeber where i got.
Last edited: