Ir para conteúdo

Magias Para Sorcerer/druid/paladin


sirmaldozo

Posts Recomendados

Bom Gente hojih estou aki pra mostra 3 novas magia que eu criei pra sorcerer druid e paladin entao primeiro passo vai em data>spells>script>attack copiei um bloka de notas renomear para exevo mas ice e apague tudo o que tem dentro e cole isto:

 

---(100% by:Bruninho Silva)---

local combat1 = createCombatObject()

setCombatParam(combat1, COMBAT_PARAM_TYPE, 512)

setCombatParam(combat1, COMBAT_PARAM_EFFECT, 52)

setCombatParam(combat1, COMBAT_PARAM_DISTANCEEFFECT, 0)

setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -5, -1, -5, -2)

--=======================================================================

local combat2 = createCombatObject()

setCombatParam(combat2, COMBAT_PARAM_TYPE, 1)

setCombatParam(combat2, COMBAT_PARAM_EFFECT, 0)

setCombatParam(combat2, COMBAT_PARAM_DISTANCEEFFECT, 0)

setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, 0, 0, 0, 0)

--=======================================================================

local combat3 = createCombatObject()

setCombatParam(combat3, COMBAT_PARAM_TYPE, 1)

setCombatParam(combat3, COMBAT_PARAM_EFFECT, 0)

setCombatParam(combat3, COMBAT_PARAM_DISTANCEEFFECT, 0)

setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, 0, 0, 0, 0)

--=======================================================================

 

 

 

 

local area1 = {

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0},

{0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0},

{0, 0, 0, 0, 1, 1, 2, 1, 1, 0, 0, 0, 0},

{0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0},

{0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}

--=======================================

local area2 = {

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}

--=======================================

local area3 = {

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}

--=======================================

 

 

 

 

setCombatArea(combat1, createCombatArea(area1))

setCombatArea(combat2, createCombatArea(area2))

setCombatArea(combat3, createCombatArea(area3))

 

 

 

function onCastSpell(cid, var)

addEvent(doCombat, 0, cid, combat1, var)

addEvent(doCombat, 0, cid, combat2, var)

addEvent(doCombat, 0, cid, combat3, var)

end

 

e agora vamos pra spell.xml e cole isto:

 

<instant name="Exevo mas ice" words="exevo mas ice" lvl="350" mana="2500" prem="1" exhaustion="2000" selftarget="1" needlearn="0" script="attack/exevo mas ice.lua">

<vocation name="Druid"/>

<vocation name="Elder Druid"/>

 

Pronto a magia esta feita agora vamos pra de sorcerer vai em data>spells>script>attack e copie um bloka de notas clika renomear e coloka exevo mas flam e cole isto:

 

---(100% by:Bruninho Silva)---

local combat1 = createCombatObject()

setCombatParam(combat1, COMBAT_PARAM_TYPE, 8)

setCombatParam(combat1, COMBAT_PARAM_EFFECT, 5)

setCombatParam(combat1, COMBAT_PARAM_DISTANCEEFFECT, 40)

setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -5, -1, -5, -2)

--=======================================================================

local combat2 = createCombatObject()

setCombatParam(combat2, COMBAT_PARAM_TYPE, 1)

setCombatParam(combat2, COMBAT_PARAM_EFFECT, 0)

setCombatParam(combat2, COMBAT_PARAM_DISTANCEEFFECT, 0)

setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, 0, 0, 0, 0)

--=======================================================================

local combat3 = createCombatObject()

setCombatParam(combat3, COMBAT_PARAM_TYPE, 1)

setCombatParam(combat3, COMBAT_PARAM_EFFECT, 0)

setCombatParam(combat3, COMBAT_PARAM_DISTANCEEFFECT, 0)

setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, 0, 0, 0, 0)

--=======================================================================

 

 

 

 

local area1 = {

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0},

{0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0},

{0, 0, 0, 0, 1, 1, 2, 1, 1, 0, 0, 0, 0},

{0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0},

{0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}

--=======================================

local area2 = {

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}

--=======================================

local area3 = {

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}

--=======================================

 

 

 

 

setCombatArea(combat1, createCombatArea(area1))

setCombatArea(combat2, createCombatArea(area2))

setCombatArea(combat3, createCombatArea(area3))

 

 

 

function onCastSpell(cid, var)

addEvent(doCombat, 0, cid, combat1, var)

addEvent(doCombat, 0, cid, combat2, var)

addEvent(doCombat, 0, cid, combat3, var)

end

 

e agora vai em spells.xml ecole isto:

 

<instant name="Exevo mas flam" words="exevo mas flam" lvl="350" mana="2500" prem="1" exhaustion="2000" selftarget="1" needlearn="0" script="attack/exevo mas flam.lua">

<vocation name="sorcerer"/>

<vocation name="master sorcerer"/>

</instant>

 

e agora a de paladin vai em data>spells>script>attack e copiei um bloco de notas e clika renomear e coloke exevo mas holy e apague tudo e cole isto:

 

---(100% by:Bruninho Silva)---

local combat1 = createCombatObject()

setCombatParam(combat1, COMBAT_PARAM_TYPE, 1024)

setCombatParam(combat1, COMBAT_PARAM_EFFECT, 39)

setCombatParam(combat1, COMBAT_PARAM_DISTANCEEFFECT, 40)

setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -5, -1, -5, -2)

--=======================================================================

local combat2 = createCombatObject()

setCombatParam(combat2, COMBAT_PARAM_TYPE, 1)

setCombatParam(combat2, COMBAT_PARAM_EFFECT, 0)

setCombatParam(combat2, COMBAT_PARAM_DISTANCEEFFECT, 0)

setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, 0, 0, 0, 0)

--=======================================================================

local combat3 = createCombatObject()

setCombatParam(combat3, COMBAT_PARAM_TYPE, 1)

setCombatParam(combat3, COMBAT_PARAM_EFFECT, 0)

setCombatParam(combat3, COMBAT_PARAM_DISTANCEEFFECT, 0)

setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, 0, 0, 0, 0)

--=======================================================================

 

 

 

 

local area1 = {

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0},

{0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0},

{0, 0, 0, 0, 1, 1, 2, 1, 1, 0, 0, 0, 0},

{0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0},

{0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}

--=======================================

local area2 = {

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}

--=======================================

local area3 = {

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}

--=======================================

 

 

 

 

setCombatArea(combat1, createCombatArea(area1))

setCombatArea(combat2, createCombatArea(area2))

setCombatArea(combat3, createCombatArea(area3))

 

 

 

function onCastSpell(cid, var)

addEvent(doCombat, 0, cid, combat1, var)

addEvent(doCombat, 0, cid, combat2, var)

addEvent(doCombat, 0, cid, combat3, var)

end

 

e agora vai em spells.xml e cole isto:

 

<instant name="Exevo mas holy" words="exevo mas holy" lvl="350" mana="2500" prem="1" exhaustion="2000" selftarget="1" needlearn="0" script="attack/exevo mas holy.lua">

<vocation name="paladin"/>

<vocation name="royal paladin"/>

</instant>

 

 

pronto a magia esta feita msn:bruno.silvamal@hotmail.com

Link para o comentário
Compartilhar em outros sites

Booum, gostei arrumadinho, ná proxima, coloca tudo eiim spoils, pra não ficar muito grande ! Outra coisa, Tente colocar SS mostrando oque cada spell faz ! isso já tira muitas duvidas ! Tire um PRINT do seu OTserver com a spell e poste !

 

 

Link para o comentário
Compartilhar em outros sites

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