AN

Minha Primeira Magia

Por anasha, 04 de nov. de 2006 em Globalevents e Spells

5
1.6k
anashaA
04 de novembro de 2006 às 18:15

Não sei se vocês vao gostar. + vo posta.

Vai na pasta de spell instant cria 1 arquivo chamado rr.lua

Depois abra o arquivo rr.lua e ponha este codigo :

 

 area = { {2, 0, 2, 2, 1, 1, 1, 0, 2, 0, 3}, {0, 2, 0, 0, 1, 1, 1, 0, 0, 2, 0}, {2, 0, 2, 0, 1, 1, 1, 0, 0, 0, 2}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {2, 2, 2, 0, 0, 1, 0, 0, 3, 3, 3}, {2, 2, 2, 2, 2, 0, 3, 3, 3, 3, 3}, {2, 2, 2, 0, 0, 4, 4, 0, 3, 3, 3}, {0, 0, 2, 0, 0, 4, 0, 0, 0, 0, 0}, {0, 2, 0, 2, 4, 4, 4, 2, 0, 2, 0}, {0, 2, 2, 0, 4, 4, 4, 0, 2, 0, 2}, {4, 0, 0, 0, 4, 4, 4, 0, 0, 2, 4} } attackType = ATTACK_BURST needDirection = true areaEffect = 13 animationEffect = NM_ANI_POWERBOLT hitEffect = NM_ANI_POWERBOLT damageEffect =  13 animationColor = BLACK offensive = true drawblood = true EnergyWaveObject = 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} EnergyWaveObject.minDmg = (level * 2 + maglv * 3) * 1.3 EnergyWaveObject.maxDmg = (level * 2 + maglv * 3) * 1.7 return doAreaMagic(cid, centerpos, needDirection, areaEffect, area, EnergyWaveObject:ordered()) end

 

Depois q colocou salve o arquivo

Não esqueçam d ativala no spell.xml

AI PARA QUEM NAO SABE COLOCA

VAI EM SPELLS.XML E PONHA ESTE CODIGO ANTES DE

<!--\\ End Instant //-->

 

 <spell name="rr"   words="rr"  maglv="6" mana="220" enabled="1"><vocation id="3" /></spell>

 

Tutorial por by Anasha

Editado Novembro 4 por anasha

PedrinhuHenriqueP
04 de novembro de 2006 às 18:33

legal pena q naum sei o q colokar na spelss xml uhsaiehueihea

acabei de te falar

??//Pedrinhu\\??

PlantaP
04 de novembro de 2006 às 19:07

Pra q essa magia?? mt apelativa!!!

eu n botaria isso ein meu otserv, n botaria como n botei...

mas u q vale eh a intençao!!!

vLws fui...

aaaa c kise eu tenhu umas magias .. eh so da uma msg xD :bye:

anashaA
04 de novembro de 2006 às 19:34
Pra q essa magia?? mt apelativa!!!

eu n botaria isso ein meu otserv, n botaria como n botei...

mas u q vale eh a intençao!!!

vLws fui...

aaaa c kise eu tenhu umas magias .. eh so da uma msg xD :bye:

 

 

 

--------------- AI AMIGO É 1 MAGIA DE ATK >>> PELO DESENHO DA AREA PARECE Q PEGA VARIOS QUADRADOS + ELA SO TEM 1 DIREÇAO Q É A FRENTE.----

E obrigada por te postado. vo tenta melhorar na prox

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

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.