Ir para conteúdo

Exevo Nature Hur (8.10)


lordvortexx

Posts Recomendados

Primeiro va em \data\spells\scripts copie um arquivo de la abra-o apague oq esta dentro e cole isso no lugar

 

local combat1 = createCombatObject()

setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)

setCombatParam(combat1, COMBAT_PARAM_EFFECT, CONST_ME_ICEAREA)

setCombatFormula(combat1, COMBAT_FORMULA_SKILL, 0, 0, 1.7, 0)

 

local combat2 = createCombatObject()

setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat2, COMBAT_PARAM_EFFECT, CONST_ME_FIREAREA)

setCombatFormula(combat2, COMBAT_FORMULA_SKILL, 0, 0, 1.7, 0)

 

local combat3 = createCombatObject()

setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_POISONDAMAGE)

setCombatParam(combat3, COMBAT_PARAM_EFFECT, 46)

setCombatFormula(combat3, COMBAT_FORMULA_SKILL, 0, 0, 1.7, 0)

 

local arr1 = {

{1, 1, 1},

{1, 1, 1},

{1, 1, 1},

{0, 1, 0},

{0, 3, 0},

}

 

local arr2 = {

{1, 1, 1},

{1, 1, 1},

{1, 1, 1},

{0, 1, 0},

{0, 3, 0},

}

 

local arr3 = {

{1, 1, 1},

{1, 1, 1},

{1, 1, 1},

{0, 1, 0},

{0, 3, 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, 200, parameters)

addEvent(onCastSpell3, 300, parameters)

end

 

 

 

Salve como nature wave e fexe, agora va em data/spells abra o arquivo spell.xml e cole isso

<instant name="Nature Wave" words="exevo nature hur" aggressive="1" direction="1" lvl="100" maglv="60" mana="300" soul="0" exhaustion="1" prem="1" enabled="1" script="nature wave.lua"><vocation id="2"/><vocation id="6"/><vocation id="10"/></instant>

 

 

 

Creditos:

 

Mitsocratso

 

 

Vlwz

 

 

Flwz ate a proxima

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...