Ir para conteúdo

Exevo Element


cai01992

Posts Recomendados

1- Entre na Pasta data/spells/scripts

2- Crie um Bloco de Notas e coloque o nome exevo element.lua

3- Copie e Cole o Script a baixo:

 

local combat1 = createCombatObject()

setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat1, COMBAT_PARAM_EFFECT, CONST_ME_FIREWORK_RED)

setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -2.0, -200, -1.6, -200)

 

local combat2 = createCombatObject()

setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)

setCombatParam(combat2, COMBAT_PARAM_EFFECT, CONST_ME_FIREWORK_BLUE)

setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -2.0, -200, -1.6, -200)

 

local combat3 = createCombatObject()

setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)

setCombatParam(combat3, COMBAT_PARAM_EFFECT, CONST_ME_FIREWORK_YELLOW)

setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -2.0, -200, -1.6, -200)

 

arr1 = {

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

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

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

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

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

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

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

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

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

{0, 0, 0, 0, 0, 0, 1, 1, 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 0, 1, 1, 1, 0, 0, 0, 0, 0, 0},

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

}

 

 

local area1 = createCombatArea(arr1)

local area2 = createCombatArea(arr2)

local area3 = createCombatArea(arr3)

 

setCombatArea(combat1, area1)

setCombatArea(combat2, area2)

setCombatArea(combat3, area3)

 

local function onCastSpell1(parameters)

doCombat(parameters.cid, parameters.combat1, parameters.var)

end

 

local function onCastSpell2(parameters)

doCombat(parameters.cid, parameters.combat2, parameters.var)

end

 

local function onCastSpell3(parameters)

doCombat(parameters.cid, parameters.combat3, parameters.var)

end

 

function onCastSpell(cid, var)

 

local parameters = { cid = cid, var = var, combat1 = combat1, combat2 = combat2, combat3 = combat3 }

 

addEvent(onCastSpell1, 100, parameters)

addEvent(onCastSpell2, 600, parameters)

addEvent(onCastSpell3, 1100, parameters)

 

end

 

Agora vai em data/spells abra o spells.xml

Copie e Cole o Script abaixo:

 

<instant name="Exevo Element" words="exevo element" aggressive="1" direction="0" lvl="200" maglv="100" mana="1500" soul="0" exhaustion="2000" prem="1" enabled="1" script="exevo element.lua">

<vocation name="Sorcerer" />

<vocation name="Druid" />

<vocation name="Master Sorcerer" />

<vocation name="Elder Druid" />

<vocation name="Slayer Sorcerer" />

<vocation name="Slayer Druid" />

</instant>

 

ScreenShot:



39825914pw0.jpg

 

OBS: Modifique do Jeito que Melhor se Adapta as Necessidades do Seu Servidor

Espero que tenham gostado :great:

Link para o comentário
Compartilhar em outros sites

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