Ir para conteúdo

[Spell] Exori Dragon !dragaonzinho


Syken

Posts Recomendados

aew galera topico de magia nova

Exori Dragon !!!

 

Vomos lá ???

 

Crie um arquivo chamado exori dragon

Vá em data/spells/scripts/exori dragon

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 33)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.4, -30, -0.5, 0)




local combatDist = createCombatObject()
setCombatParam(combatDist, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)
setCombatParam(combatDist, COMBAT_PARAM_EFFECT, 33)
setCombatParam(combatDist, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY)
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

 

<instant name="Dragon Strike" words="Exori Dragon" lvl="250" mana="200" prem="1" casterTargetOrDirection="1" blockwalls="1" exhaustion="1000" needlearn="0" script="exori dragon.lua">

<vocation name="Knight" />

<vocation name="Elite Knight" />

 

Screen Shot :

Não tem...

Em breve vo add !!

Mais e maneira pode testa

 

Abraços !!!

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...