Ir para conteúdo

Exevo Storm


leeo

Posts Recomendados

Vamuh comecar

 

 

Primeiro passo: va na pasta data/spells/scripts copie qualquer magia e renomeia como exevo storms abra e coloque isto dentro

 

local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat1, COMBAT_PARAM_EFFECT, CONST_ME_CARNIPHILA)
setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -0.0, -0, -0.0, 0)

local combat2 = createCombatObject()
setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)
setCombatParam(combat2, COMBAT_PARAM_EFFECT, CONST_ME_GIANTICE)
setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -0.0, -0, -0.08, 0)

local combat3 = createCombatObject()
setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_DROWNDAMAGE)
setCombatParam(combat3, COMBAT_PARAM_EFFECT, CONST_ME_STONES)
setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -0.4, -30, -0.5, 0)

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

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

 

Pronto o primeiro passo foi feito !

 

Segundo Passo:Agora va em data/spells/spells xml va em <!-- instant spells -->

 

e coloke isto

 

<instant name="exevo storm" words="exevo storm" lvl="8" maglv="0" manapercent="50" soul="0" exhaustion="1" prem="1" enabled="1" script="exevo storm.lua"><vocation id="1"/><vocation id="9"/></instant>

 

Pronto o Segundo passo foi feito !

 

 

100%By Leeo

divuguem e flam c ta bom ^^

 

 

ta ai a ss

Link para o comentário
Compartilhar em outros sites

Faz uma magia com o dano baixo! :o

pq se o server for de exp alta eles edita o dano dela.. kkkkkkkkkkkkk

 

eu fui coloca um exori de bolo que catei aqui.. no meu server mato meu trainer em 1! ¬¬

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...