Ir para conteúdo

Magias Exori Hur E Con 8.1


Twilight

Posts Recomendados

Abra a pasta data/spells/spells copie qlqr arquivo q tenha la, renomeie para whirlwind throw abra apague td e ponha 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

 

Na linha q esta em vermelho

 

>>>> "setCombatParam(combatDist, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_WHIRLWINDAXE)"

 

voce pode trocar o "CONST_ANI_WHIRLWINDAXE" por "CONST_ANI_WHIRLWINDSWORD" ou por "CONST_ANI_WHIRLWINDCLUB"

 

agora copie outro arquivo qlqr renomeie para ethereal spear abra apague td e copie 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_ETHEREALSPEAR)

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

 

agora no spells.xml ponha isso

 

 

<instant name="whirlwind throw" words="exori hur" selftarget="1" lvl="15" maglv="2" mana="40" soul="0" exhaustion="1" prem="1" enabled="1" script="whirlwind throw.lua"><vocation id="4"/><vocation id="8"/></instant>

 

<instant name="ethereal spear" selftarget="1" words="exori con" direction="1" lvl="20" maglv="2" mana="30" soul="0" exhaustion="1" prem="1" enabled="1" script="ethereal spear.lua"><vocation id="3"/><vocation id="7"/></instant>

 

 

Pronto agora vc tem as magias exori hur e con no ot :)

 

Creditos

90% tuco por ter adaptado os ots para esse script

10% pra mim por ter modificado pra fikarem como exori hur e con >:)

 

 

Screenshots:

 

exoriconce4.th.png

 

exorihurkw6.th.png

Editado por Twilight
Link para o comentário
Compartilhar em outros sites

  • 3 weeks later...
×
×
  • Criar Novo...