Jump to content
Sign in to follow this  
Leumachado

Holy Wave :D

Recommended Posts

Leumachado

Holy Wave

 

Iae galera vim postar aqui minha primeira spell espero que gostem OiaeuMae

 

Nome: Holy Wave

Autor: [ADM] Leoo

Versão Testada: Tibia 8.50

Primeiro vá em data\spells\spells.xml e coloque isto em <- Attack Spells ->
<instant name="Holy Wave" words="exevo divine hur" lvl="145" mana="650" selftarget="1" prem="1" exhaustion="2000" needlearn="0" script="attack/Holy Wave.lua">

<vocation name="Paladin"/>

<vocation name="Royal Paladin"/>

</instant>

Salve e Feche.

 

Agora vá em data\spells\scripts\attack e crie um arquivo chamado Holy Wave.lua e cole isto :

-- Holy Wave --

local combat = createCombatObject()

setCombatParam(combat, COMBAT_PARAM_TYPE,COMBAT_HOLYDAMAGE)

setCombatParam(combat, COMBAT_PARAM_EFFECT,CONST_ME_HOLYAREA)

setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1.0, -1000, 1.6, -2560)

 

arr = {

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

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

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

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

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

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

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

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

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

}

 

local area = createCombatArea(arr)

setCombatArea(combat, area)

 

function onCastSpell(cid, var)

return doCombat(cid, combat, var)

end

Salve e Feche , Pronto :loool:

 

[spoiler=ScreenShot]screenshot052t.jpg

 

 

 

Espero ter ajudado (Y)

 

 

Gostou Doe-Me V$

Edited by Leumachado
esqueci de uma coisa

Share this post


Link to post
Flatronez

Movido.

Share this post


Link to post
Leumachado

valeo's fico da hora a spell ?

 

o ataque dela ta entre 1000 até 2560 só pra lembra :D

Share this post


Link to post
adrikk

gostei mto.

vlws ae

Share this post


Link to post
Sign in to follow this  
  • Recently Browsing   0 members

    No registered users viewing this page.

×