Ir para conteúdo

SPELL: The Power That God Gave Me


lovenina12

Posts Recomendados

Magia Editada por antes estar inultil e sem graca.

 

Descricao da Spell:

 

O nome da spell significa: o poder que deus me deu,

Vocacoes: Paladin.

Dano, um pouco mais do que a magia Rage of The Skies (exevo gran mas vis) de sorc,

Almenta dano com : magic level.

 

Script da Spell:

 

Va em data/spells/scripts/attack , copie qualquer arquivo e renomeie para my power.lua, ai dentro dele se troca tudo que tem por isso:

 

 

local combat1 = createCombatObject()

setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)

setCombatParam(combat1, COMBAT_PARAM_EFFECT, 39)

setAttackFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, 1, 3, 5, 15)

 

local combat2 = createCombatObject()

setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)

setCombatParam(combat2, COMBAT_PARAM_EFFECT, 39)

setAttackFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, 1, 3, 5, 15)

 

local combat3 = createCombatObject()

setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)

setCombatParam(combat3, COMBAT_PARAM_EFFECT, 39)

setAttackFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, 1, 3, 5, 15)

 

local combat4 = createCombatObject()

setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)

setCombatParam(combat4, COMBAT_PARAM_EFFECT, 39)

setAttackFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, 1, 3, 5, 15)

 

local combat5 = createCombatObject()

setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)

setCombatParam(combat5, COMBAT_PARAM_EFFECT, 39)

setAttackFormula(combat5, COMBAT_FORMULA_LEVELMAGIC, 1, 3, 5, 15)

 

local combat6 = createCombatObject()

setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)

setCombatParam(combat6, COMBAT_PARAM_EFFECT, 39)

setAttackFormula(combat6, COMBAT_FORMULA_LEVELMAGIC, 1, 3, 5, 15)

 

local combat7 = createCombatObject()

setCombatParam(combat7, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)

setCombatParam(combat7, COMBAT_PARAM_EFFECT, 39)

setAttackFormula(combat7, COMBAT_FORMULA_LEVELMAGIC, 5, 5, 8, 20)

 

local combat8 = createCombatObject()

setCombatParam(combat8, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)

setCombatParam(combat8, COMBAT_PARAM_EFFECT, 39)

setAttackFormula(combat8, COMBAT_FORMULA_LEVELMAGIC, 5, 5, 8, 20)

 

local combat9 = createCombatObject()

setCombatParam(combat9, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)

setCombatParam(combat9, COMBAT_PARAM_EFFECT, 49)

setAttackFormula(combat9, COMBAT_FORMULA_LEVELMAGIC, 5, 5, 8, 20)

 

local area1 = {

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

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

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

}

 

local area2 = {

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

}

 

 

local arr1 = createCombatArea(area1)

local arr2 = createCombatArea(area2)

local arr3 = createCombatArea(area3)

local arr4 = createCombatArea(area4)

local arr5 = createCombatArea(area5)

local arr6 = createCombatArea(area6)

local arr7 = createCombatArea(area7)

local arr8 = createCombatArea(area8)

local arr9 = createCombatArea(area9)

 

setCombatArea(combat1, arr1)

setCombatArea(combat2, arr2)

setCombatArea(combat3, arr3)

setCombatArea(combat4, arr4)

setCombatArea(combat5, arr5)

setCombatArea(combat6, arr6)

setCombatArea(combat7, arr7)

setCombatArea(combat8, arr8)

setCombatArea(combat9, arr9)

 

local function onCastSpell1(parameters)

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

end

 

local function onCastSpell2(parameters)

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

end

 

local function onCastSpell3(parameters)

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

end

 

local function onCastSpell4(parameters)

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

end

 

local function onCastSpell5(parameters)

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

end

 

local function onCastSpell6(parameters)

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

end

 

local function onCastSpell7(parameters)

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

end

 

local function onCastSpell8(parameters)

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

end

 

local function onCastSpell9(parameters)

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

end

 

function onCastSpell(cid, var)

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

addEvent(onCastSpell1, 100, parameters)

addEvent(onCastSpell2, 300, parameters)

addEvent(onCastSpell3, 500, parameters)

addEvent(onCastSpell4, 700, parameters)

addEvent(onCastSpell5, 900, parameters)

addEvent(onCastSpell6, 1100, parameters)

addEvent(onCastSpell7, 1700, parameters)

addEvent(onCastSpell8, 1300, parameters)

addEvent(onCastSpell9, 1500, parameters)

 

return true

end

 

 

fexe e salve,

 

depois volta na pasta data/spells e abra o spells.xml

 

e adicione uma nova linha assim

 

 

<instant name="The Power That God Give To Me" words="exevo gran san power" lvl="100" mana="650" selftarget="1" prem="1" exhaustion="2000" needlearn="0" script="attack/my power.lua">

<vocation id="3">

<vocation id="7">

</vocation></vocation></instant>

 

 

 

 

mude ali:

 

amarelo: level que ira needar para usar '-'

vermelho:mana necessaria

azul: tempo para poder soltar denovo ( em milesimos ) 1000 = 1 segundo

 

-+-+-+-+-+-+-+-+-+-+-+[ é isso, se tiver alguma coisa errada ai escrevam nos coment]-+-+-+-+-+-+-+-+-+-+-+

 

Creditos:

100% eu certeza!

 

Video da Spell:

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

Como assim? Tipo esta e a sessao de spells ne, mais tem alguma regra sobre tipo, a magia tem que ter uma utilidade? tipo no meu otro post, a spell bushido que eu coloquei la ela era tipo essa, se tiver que colocar ela um poco mais diferente eu posso mudar aqui. responde ae quando voce voitar

 

Ah e, e vc tambem sabe o programa pra fazer video pra mostrar o spell? =X

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

Magia Alterada, agora ele puxa um san ate ele e vai fazendo uma explosao de sans ate fazer uma cruz e o poder acabar ;) ta bom assim?

 

NN n pra virar spell tipo aqueles programas que os lek grava pra mostrar como e a spell, eu sei que tem uma regra ai que diz que toda spell precisa de um video pra saber como eh, qual programa que se usa? HyperCam?

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...