Ir para conteúdo

New Spell 4 Efeitos


gornicki

Posts Recomendados

Minha 2° Spell :)

 

Abra um arquivo lua e renomeie com o nome exori cooler (botei esse nome mas n tem nada a ver)

 

apague seu conteudo e ensira o seguinte:

 

local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)
setCombatParam(combat1, COMBAT_PARAM_EFFECT, 48)
setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -0.5, -30, -0.8, 0)

local combat2 = createCombatObject()
setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
setCombatParam(combat2, COMBAT_PARAM_EFFECT, 1)
setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -0.5, -30, -0.8, 0)

local combat3 = createCombatObject()
setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_POISONDAMAGE)
setCombatParam(combat3, COMBAT_PARAM_EFFECT, 20)
setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -0.5, -30, -0.8, 0)

local combat4 = createCombatObject()
setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
setCombatParam(combat4, COMBAT_PARAM_EFFECT, 5)
setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -0.5, -30, -0.8, 0)

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

local area1 = createCombatArea(arr1)
local area2 = createCombatArea(arr2)
local area3 = createCombatArea(arr3)
local area4 = createCombatArea(arr4)

setCombatArea(combat1, area1)
setCombatArea(combat2, area2)
setCombatArea(combat3, area3)
setCombatArea(combat4, area4)

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

local function onCastSpell4(parameters)
doCombat(parameters.cid, parameters.combat4, parameters.var)
end

function onCastSpell(cid, var)
local parameters = { cid = cid, var = var, combat1 = combat1, combat2 = combat2, 

combat3 = combat3, combat4 = combat4 }

addEvent(onCastSpell1, 0, parameters)
addEvent(onCastSpell2, 0, parameters)
addEvent(onCastSpell3, 0, parameters)
addEvent(onCastSpell4, 0, parameters)

end

Pronto Agora salta em data/spells/scripts

 

 

Agora abra o arquivo xml e insira a seguinte tag em instant spells

 

 

<instant name="Exori Cooler" words="exori cooler" lvl="100" maglv="7" soul="0" mana="100" exhaustion="1" prem="1" enable="1" script="exori cooler.lua"><vocation id="6"/></instant>

 

 

 

SS:

exoricoolerbo6.jpg

 

 

 

 

 

 

Comentarios Plixxxxxx

 

 

 

 

É MEU FAN? use:

alissonfan2xm3.png

 

 

 

 

Minha Matéria

Editado por gornicki
Link para o comentário
Compartilhar em outros sites

Magia legal Gosto De Magia Com Etapas

 

Gostaria q vc Olhava A Que Eu fis

Fury of nature

Muito Boa tb

PARA druid

Editado por pedr0
Link para o comentário
Compartilhar em outros sites

gostei da magia

fikou bem criativa cara :icon1:

 

ja estava fikando entediado com as magias de sempre :icon2:

 

muito bom :smile_positivo:

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...