TH

Magia Nova

Por ThiagoCapitao, 28 de jan. de 2007 em Globalevents e Spells

7
2.2k
28 de janeiro de 2007 às 15:53

data/spells/instant

 

Crie um arkivo xamado : bruck.lua

e ponha isto

area = {
   {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, 1, 1, 1, 0, 0, 0, 0},
   {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
   {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
   {0, 0, 0, 1, 1, 1, 1, 1, 0, 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, 1, 1, 1, 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},
   }
attackType = ATTACK_PHYSICAL
needDirection = false
areaEffect = NM_ME_MORT_AREA
animationEffect = NM_ANI_SUDDENDEATH

hitEffect = NM_ME_MORT_AREA
damageEffect = NM_ME_MORT_AREA
animationColor = GREEN
offensive = true
drawblood = true

GreatEnergyBeamObject = MagicDamageObject(attackType, animationEffect, hitEffect, damageEffect, animationColor, offensive, drawblood, 0, 0)

function onCast(cid, creaturePos, level, maglv, var)
centerpos = {x=creaturePos.x, y=creaturePos.y, z=creaturePos.z}
GreatEnergyBeamObject.minDmg = (level * 10 + maglv *10) * 5.0
GreatEnergyBeamObject.maxDmg = (level * 10 + maglv *10) * 10.0

return doAreaMagic(cid, centerpos, needDirection, areaEffect, area, GreatEnergyBeamObject:ordered())
end

 

Dps em spell.xml

 

<spell name="Berserker Mort" words="bruck" maglv="9" mana="500" enabled="1">
 <vocation id="4" /> 
 </spell>

 

Bom ai esta, comentem oq axaram.

Editem a area, pq ela ta meio zuada x]

 

Vlws

Renato4everR
29 de janeiro de 2007 às 15:21

a magia e tipo uma ue de sd?...

 

se for n combina muito com knights =(

 

mas msm assim fikou boua =)

 

vlw...flw

1 mês depois...
HelzokH
09 de fevereiro de 2007 às 19:35

Se for pra vc fazer esse tpw de magia eh melhor fazer uma q seja kra de knight tpw o meu serv eu fiz Exori max eu peguei o icon da exori comum e colokei na magia! eh melhor do q colok com icon de SD. ^^

Felipe MoraesF
12 de fevereiro de 2007 às 12:21

ate q a magia ta legalzinha...parabens,fico um tuto bem explicado

3 meses depois...
skynagerloasS
25 de maio de 2007 às 15:33

Tópico contendo somente 1 ou 2 Spells,

essa seção é para DataPacks com 3 ou mais Npcs,

~o{Tópico Movido}o~,

Abraços.

27 de maio de 2007 às 14:51

reviveu do fundo do caixao no nucleo da terra em :)

Bl4NkB
02 de junho de 2007 às 21:07

Tá bem legal, magia até que ficou boa ^^

E está bem explicado.

Flws