Ir para conteúdo

Killer From Hell Ot Spells


Thefainted

Posts Recomendados

Bom pessoal, Vámos primeiro fazer uma Spell chamada "Song", No final vou postar Printscreen, Meu otserver tem ataque alto, então configure o tanto que vai hitar.. !

 

Copie e cole uma spell da pasta attacks que já tem no seu ot, renomeie, coloque SONG e dentro isso

SONG SPELL

 

local combat1 = createCombatObject()

setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat1, COMBAT_PARAM_EFFECT, 16)

setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -5.4, -45, -6.9, -27)

 

local combat2 = createCombatObject()

setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat2, COMBAT_PARAM_EFFECT, 18)

setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -5.4, -45, -6.9, -27)

 

local arr1 = {

{1, 1, 1},

{1, 2, 1},

{1, 1, 1}

}

 

local arr2 = {

{1, 1, 1},

{1, 2, 1},

{1, 1, 1}

}

 

local area1 = createCombatArea(arr1)

local area2 = createCombatArea(arr2)

setCombatArea(combat1, area1)

setCombatArea(combat2, area2)

 

local function onCastSpell1(parameters)

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

end

 

local function onCastSpell2(parameters)

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

end

 

function onCastSpell(cid, var)

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

addEvent(onCastSpell1, 150, parameters)

addEvent(onCastSpell2, 300, parameters)

end

 

 

 

Agora configure em spells.xml colocando isso

 

 

<instant name="SoNg ThAt kIlL !o!" words="song" lvl="500" mana="600" prem="1" exhaustion="1350" needlearn="0" script="attack/song.lua">

<vocation name="Knight" />

<vocation name="Elite knight" />

</instant>

 

 

 

IMAGEM DA SPELL SONG

 

post-275720-025361200%201281654666_thumb.png

 

 

 

Proximá spell de Magos, chamada Uber Fire , Copie e cole um script da pasta attack Chamada Uber Fire e coloque isso dentro

 

local combat1 = createCombatObject()

setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)

setCombatParam(combat1, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA)

setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -4.5, -35, -6.4, -23)

 

local combat2 = createCombatObject()

setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)

setCombatParam(combat2, COMBAT_PARAM_EFFECT, 31)

setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -4.5, -35, -6.4, -23)

 

local arr1 = {

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

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

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

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

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

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

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

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

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

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

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

}

 

local arr2 = {

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

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

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

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

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

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

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

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

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

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

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

}

 

local area1 = createCombatArea(arr1)

local area2 = createCombatArea(arr2)

setCombatArea(combat1, area1)

setCombatArea(combat2, area2)

 

local function onCastSpell1(parameters)

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

end

 

local function onCastSpell2(parameters)

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

end

 

function onCastSpell(cid, var)

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

 

combat2 }

addEvent(onCastSpell1, 150, parameters)

addEvent(onCastSpell2, 150, parameters)

end

 

 

 

Agora no Spells.xml coloque isso dentro

 

 

<instant name="The Uber Fire" words="Uber fire" lvl="900" mana="700" prem="1" exhaustion="1350" needlearn="0" script="attack/Uber fire.lua">

<vocation name="Sorcerer" />

<vocation name="Druid" />

<vocation name="Master sorcerer" />

<vocation name="Elder druid" />

 

 

Eu coloquei o nome originalmente no ot como Uber Exori, mais parece que já tem então coloquei Uber Fire aqui, Spell image:

 

post-275720-021347600 1281655969_thumb.png

 

 

 

Proxima spell, Chamda Black Fire Para paladins, Copie e cole um arquivo e renomeie para BLACK FIRE e coloque isso dentro:

local combat1 = createCombatObject()

setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)

setCombatParam(combat1, COMBAT_PARAM_EFFECT, 17)

setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -5.0, -40, -6.7, -25)

 

local combat2 = createCombatObject()

setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)

setCombatParam(combat2, COMBAT_PARAM_EFFECT, 15)

setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -5.0, -40, -6.7, -25)

 

local combat3 = createCombatObject()

setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)

setCombatParam(combat3, COMBAT_PARAM_EFFECT, 15)

setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -5.0, -40, -6.7, -25)

 

local arr1 = {

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

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

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

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

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

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

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

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

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

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

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

}

 

local arr2 = {

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

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

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

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

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

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

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

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

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

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

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

}

 

local arr3 = {

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

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

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

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

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

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

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

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

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

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

{0, 0, 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 = combat1, combat2, combat3 =

 

combat3 }

addEvent(onCastSpell1, 150, parameters)

addEvent(onCastSpell2, 270, parameters)

addEvent(onCastSpell3, 310, parameters)

end

 

No spells.xml coloque isso:

 

<instant name="BLACK FIREEEE !" words="BLACK FIRE" lvl="900" mana="700" prem="1" exhaustion="1350" needlearn="0" script="attack/black fire.lua">

<vocation name="Royal paladin" />

<vocation name="Paladin" />

 

 

Imagem da spell

 

post-275720-022741300 1281656491_thumb.png

 

Bom, espero que gostaram da spell ! até o proximo post!

 

 

 

post-275720-025361200 1281654666_thumb.png

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...