Ir para conteúdo

Minha Primeira Magia


anasha

Posts Recomendados

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

Link para o comentário
Compartilhar em outros sites

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:

Link para o comentário
Compartilhar em outros sites

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

Link para o comentário
Compartilhar em outros sites

  • 6 months later...
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...