GU

Outra Magia Feita Por Mim

Por Guilherme 17/05/1991, 05 de nov. de 2006 em Globalevents e Spells

3
1.6k
05 de novembro de 2006 às 18:19

Vá em data/spell/instant e crie um bloco com o nome de sound e coloke issu:

area = {

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

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

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

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

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

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

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

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

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

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

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

}

attackType = ATTACK_DRUNKNESS

needDirection = false

areaEffect = NM_ME_SOUND_WHITE

animationEffect = NM_ANI_LARGEROCK

hitEffect = NM_ME_SOUND_WHITE

damageEffect = NM_ME_SOUND_WHITE

animationColor = BLACK_WHITE

offensive = true

drawblood = true

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

SpellObject.minDmg = 1000

SpellObject.maxDmg = 2000

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

end

____________________________________

Depois vá em data/spell/spell.xml e cloke issu na parte ded instant:

<spell name="Musica" words="sound" maglv="25" mana="75" enabled="1"><vocation id="1" /><vocation id="2" /><vocation id="3" /></spell>

Axu q essa eh a unica magia que presta das minhas 3 q fiz.

Aproveitem usem mas não modifiquem.

Não deixe de comentar e dizer oq q axou!!!

Editado Novembro 5 por Guilherme 17/05/1991

6 meses depois...
skynagerloasS
25 de maio de 2007 às 16:23

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.

2 meses depois...
iagobrI
04 de julho de 2007 às 12:09

não funfo depois que eu botei essa spell ae o ot não queria mais abrir