Ir para conteúdo

Ultimate Fire


jmaior

Posts Recomendados

Vá na pasta de seu ot, entre na pasta data, abra a pasta spells e va na pasta scripts.

Depois copie qualquer arquivo que a na pasta e apague tudo oque a dentro dele, depois cole isso e renomei o arquivo para ultimate fire.

 

-- spell by Loakas --

local combat1 = createCombatObject()

setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -3.0, -10, -1.9, -10)

setCombatParam(combat1, COMBAT_PARAM_EFFECT, 15)

 

local combat2 = createCombatObject()

setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)

setCombatParam(combat2, COMBAT_PARAM_EFFECT, 37)

setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -3.0, -10, -1.9, -10)

 

local combat3 = createCombatObject()

setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat2, COMBAT_PARAM_EFFECT, 36)

setCombatFormula(combat10, COMBAT_FORMULA_LEVELMAGIC, -3.0, -10, -1.9, -10)

 

local combat4 = createCombatObject()

setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)

setCombatParam(combat4, COMBAT_PARAM_EFFECT, 37)

setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -3.0, -10, -1.9, -10)

 

local combat5 = createCombatObject()

setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_POISONDAMAGE)

setCombatParam(combat7, COMBAT_PARAM_EFFECT, 40)

setCombatFormula(combat7, COMBAT_FORMULA_LEVELMAGIC, -3.0, -10, -1.9, -10)

 

local combat6 = createCombatObject()

setCombatParam(combatDist, COMBAT_PARAM_TYPE, COMBAT_DROWNDAMAGE)

setCombatParam(combatDist, COMBAT_PARAM_EFFECT, 25)

setCombatFormula(combat9, COMBAT_FORMULA_LEVELMAGIC, -3.0, -10, -1.9, -10)

 

local combat7 = createCombatObject()

setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_POISONDAMAGE)

setCombatParam(combat7, COMBAT_PARAM_EFFECT, 40)

setCombatFormula(combat7, COMBAT_FORMULA_LEVELMAGIC, -3.0, -10, -1.9, -10)

 

local combat8 = createCombatObject()

setCombatParam(combat8, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)

setCombatParam(combat8, COMBAT_PARAM_EFFECT, 37)

setCombatFormula(combat8, COMBAT_FORMULA_LEVELMAGIC, -3.0, -10, -1.9, -10)

 

local combat9 = createCombatObject()

setCombatParam(combatDist, COMBAT_PARAM_TYPE, COMBAT_DROWNDAMAGE)

setCombatParam(combatDist, COMBAT_PARAM_EFFECT, 25)

setCombatFormula(combat9, COMBAT_FORMULA_LEVELMAGIC, -3.0, -10, -1.9, -10)

 

local combat10 = createCombatObject()

setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat2, COMBAT_PARAM_EFFECT, 36)

setCombatFormula(combat10, COMBAT_FORMULA_LEVELMAGIC, -3.0, -10, -1.9, -10)

 

 

arr1 = {

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

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

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

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

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

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

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

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

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

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

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

}

 

arr2 = {

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

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

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

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

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

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

{1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1},

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

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

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

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

local area5 = createCombatArea(arr5)

local area6 = createCombatArea(arr6)

local area7 = createCombatArea(arr7)

local area8 = createCombatArea(arr8)

local area9 = createCombatArea(arr9)

local area10 = createCombatArea(arr10)

setCombatArea(combat1, area1)

setCombatArea(combat2, area2)

setCombatArea(combat3, area3)

setCombatArea(combat4, area4)

setCombatArea(combat5, area5)

setCombatArea(combat6, area6)

setCombatArea(combat7, area7)

setCombatArea(combat8, area8)

setCombatArea(combat9, area9)

setCombatArea(combat10, area10)

 

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

 

local function onCastSpell5(parameters)

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

end

 

local function onCastSpell6(parameters)

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

end

 

local function onCastSpell7(parameters)

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

end

 

local function onCastSpell8(parameters)

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

end

 

local function onCastSpell9(parameters)

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

end

 

local function onCastSpell10(parameters)

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

end

 

function onCastSpell(cid, var)

local parameters = { cid = cid, var = var, combat1 = combat1, combat2 = combat2, combat3 = combat3, combat4 = combat4, combat5 = combat5, combat6 = combat6, combat7 = combat7, combat8 = combat8, combat9 = combat9, combat10 = combat10 }

addEvent(onCastSpell1, 100, parameters)

addEvent(onCastSpell2, 400, parameters)

addEvent(onCastSpell3, 700, parameters)

addEvent(onCastSpell4, 1000, parameters)

addEvent(onCastSpell5, 1300, parameters)

addEvent(onCastSpell6, 1600, parameters)

addEvent(onCastSpell7, 1900, parameters)

addEvent(onCastSpell8, 2200, parameters)

addEvent(onCastSpell9, 2500, parameters)

addEvent(onCastSpell10, 2800, parameters)

 

end

 

Va na pasta de seu ot, entre na pasta data, abra a pasta spells e abra o arquivo spells com o bloco de notas.

E adicione Isto.

 

<instant name="Ultimate Fire" words="Ultimate Fire" aggressive="0" direction="0" lvl="22" maglv="36" mana="1500" soul="0" exhaustion="1" prem="0" enabled="1" script="Ultimate Fire.lua"><vocation id="1"/><vocation id="2"/><vocation id="3"/><vocation id="4"/><vocation id="5"/><vocation id="6"/><vocation id="7"/><vocation id="8"/></instant>

 

Espero Que Gostem Pois E minha Primeira magia.

Link para o comentário
Compartilhar em outros sites

  • 1 month later...
  • 1 month later...

@kakareco

Comentar em tópicos com mais de 30 dias desde sua ultima postagem é considerado flood.

Peço a você para ler as regras e prestar atenção na data do ultimo post. Se isto se repetir você poderá ser alertado.

Abraços.

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...