:icon1: Olá
essas magias foram feitas por mim, mas pela pouca diversidade de efeitos alguem pode ter feito isso antes.
A primeira vez que eu fiz ocorreu um problema....então utilizei o tutorial do TWILIGHT
LINK:TÓPICO
Pra começa as SS:
Axe hur:
Club hur:
Agora vamos começar com axe hur:
Vá em data/spells/scripts e copie qualquer um e cole, apague tudo, renomeie para axe hur e coloke isso:
local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_DRAWBLOOD) setCombatFormula(combatDist, COMBAT_FORMULA_LEVELMAGIC, -0.4, -30, -0.5, 0) local combatDist = createCombatObject() setCombatParam(combatDist, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combatDist, COMBAT_PARAM_EFFECT, CONST_ME_DRAWBLOOD) setCombatParam(combatDist, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_WHIRLWINDAXE) setCombatFormula(combatDist, COMBAT_FORMULA_LEVELMAGIC, -0.4, -30, -0.5, 0) function onCastSpell(cid, var) local target = getCreatureTarget(cid) if(target ~= 0) then return doCombat(cid, combatDist, numberToVariant(target)) end return doCombat(cid, combat, var) end
E agora em data/spells clque em editar em itens.xml e coloque isso na parte de instant:
<instant name="Whirlwind Axe" words="exori hur axe" direction="0" lvl="18" maglv="2" mana="40" soul="0" exhaustion="1" prem="1" enabled="1" script="axe hur.lua"><vocation id="4"/><vocation id="8"/></instant>
Agora Club hur:
Vá em data/spells/scripts e copie qualquer um e cole, apague tudo, renomeie para club hur e coloke isso:
local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_DRAWBLOOD) setCombatFormula(combatDist, COMBAT_FORMULA_LEVELMAGIC, -0.4, -30, -0.5, 0) local combatDist = createCombatObject() setCombatParam(combatDist, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combatDist, COMBAT_PARAM_EFFECT, CONST_ME_DRAWBLOOD) setCombatParam(combatDist, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_WHIRLWINDCLUB) setCombatFormula(combatDist, COMBAT_FORMULA_LEVELMAGIC, -0.4, -30, -0.5, 0) function onCastSpell(cid, var) local target = getCreatureTarget(cid) if(target ~= 0) then return doCombat(cid, combatDist, numberToVariant(target)) end return doCombat(cid, combat, var) end
E agora em data/spells clque em editar em itens.xml e coloque isso na parte de instant:
<instant name="Whirlwind Club" words="exori hur club" direction="0" lvl="18" maglv="2" mana="40" soul="0" exhaustion="1" prem="1" enabled="1" script="club hur.lua"><vocation id="4"/><vocation id="8"/></instant>
Agora use e abuse das magias : axe hur= exori hur axe. club hur= exori hur club
CRÉDITOS:
-EU 50%
-TWILIGHT 50%
COMENTEM!!!!!!
Qualquer erro avise!