MA

Nova Magia, Pra Sorc

Por Maioral, 30 de set. de 2006 em Globalevents e Spells

4
1.8k
MaioralM
30 de setembro de 2006 às 19:37

Ela Nao é muito apelativa ela eh assim : vc fala charges + 20 e se o monstro tiver +- perto de vc ela atinge ele , ela eh invisivel

area = {

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

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

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

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

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

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

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

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

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

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

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

}

attackType = ATTACK_PHYSICAL

needDirection = false

areaEffect = NM_ME_NONE

animationEffect = NM_ANI_NONE

hitEffect = NM_ME_BLOCKHIT

damageEffect = NM_ME_DRAW_BLOOD

animationColor = RED

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 * 3 + maglv * 4) * 4.5 -25

UltimateExplosionObject.maxDmg = (level * 3 + maglv * 4) * 4.5

end

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

end

espera que gostem ah claro nao esqueçam :

poe la no speels.xml

<spell name="Charge +20" words="charge +20" maglv="23" mana="2280" enabled="1"><vocation id="1" /></spell>

Coments Plz!

MaioralM
03 de outubro de 2006 às 00:27

POXA 13 EXIBIÇOES E NENHUM POST! que droga gente! :boos:

afkA
03 de outubro de 2006 às 16:00

REPORTED.

FLOOD.

ALERTADO EM 10%

Gogog moderadores essa é minha opinião

7 meses depois...
skynagerloasS
25 de maio de 2007 às 16:32

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.