LE

Voko Vuko

Por leonardo neves, 26 de dez. de 2006 em Globalevents e Spells

6
2.1k
26 de dezembro de 2006 às 19:22

area = {

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

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

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

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

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

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

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

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

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

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

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

}

attackType = ATTACK_FIRE

needDirection = false

areaEffect = NM_ME_SOUND_BLUE

animationEffect = NM_ANI_NONE

hitEffect = NM_ME_EXPLOSION_DAMAGE

damageEffect = NM_ME_SOUND_BLUE

animationColor = BLUE

offensive = true

drawblood = true

UltimateExplosionObject = 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}

n = tonumber(var) -- try to convert it to a number

if n ~= nil then

-- bugged

-- ultimateExplosionObject.minDmg = var+0

-- UltimateExplosionObject.maxDmg = var+0

UltimateExplosionObject.minDmg = 0

UltimateExplosionObject.maxDmg = 0

else

-- UltimateExplosionObject.minDmg = (level * 2 + maglv * 2) * 1.3 - 30

-- UltimateExplosionObject.maxDmg = (level * 2 + maglv * 2) * 2.0

UltimateExplosionObject.minDmg = (level * 2 + maglv * 3) * 2.3 - 30

UltimateExplosionObject.maxDmg = (level * 2 + maglv * 3) * 3.0

end

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

end

26 de dezembro de 2006 às 19:25

copia uma magia apaga tudo e poe akilo

KekeuzinK
28 de dezembro de 2006 às 13:19

o q q ela faiz????explica aew,tah mt mal explicado pra kem acabo de começar com OTServer.organiza o seu topico,usando quotes e codes,usando negrito italico sublinhado e usando cores.

eu anum to em casa,portanto eu naum posso colokr a magia no meu ot pra ver o q q faiz.

 

flw aew

 

F

U

I

1 mês depois...
ChakauC
16 de janeiro de 2007 às 19:28

n deu aki...

n fufnfou

PUtz q merds

morgado4everM
17 de janeiro de 2007 às 03:54

magia sem utilidade e com nome totalmente nada a ve... ele tira 0 de dmg.. sem utilidade

4 meses depois...
skynagerloasS
25 de maio de 2007 às 15:50

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.