Ir para conteúdo

Deixar Uma Magia 7.6 Para 8.42


YuriGrandstorm

Posts Recomendados

Peguei essa magia do DBZ e queria ajuda.

 

preiso dessa magia

 

 

O Script e esse

 

area = {

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

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

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

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

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

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

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

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

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

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

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

}

 

attackType = ATTACK_POISON

needDirection = false

areaEffect = NM_ANI_NONE

animationEffect = NM_ANI_NONE

 

hitEffect = NM_ME_NONE

damageEffect = NM_ME_MAGIC_ENERGIE

animationColor = RED

offensive = false

needDirection = false

drawblood = false

minDmg = 0

maxDmg = 0

 

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

 

 

time = 200 --time in seconds

ret = doTargetMagic(cid, centerpos, CreatureIllusionObject:ordered())

 

if(ret) then

speed = getSpeed(cid)

time = 200 --in seconds

addspeed = (speed*1.5)

 

changeSpeed(cid, addspeed, time)

end

UltimateHealingObject = MagicDamageObject(attackType, animationEffect, hitEffect, damageEffect, animationColor, offensive, drawblood, minDmg, maxDmg)

SubUltimateHealingObject1 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 1, 10)

SubUltimateHealingObject2 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 1, 10)

SubUltimateHealingObject3 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 1, 10)

if(ret) then

changeOutfit(cid, time, 50)

end

 

return doAreaExMagic(cid, centerpos, needDirection, areaEffect, area, UltimateHealingObject:ordered(),

1, 40, SubUltimateHealingObject1:ordered(),

1, 40, SubUltimateHealingObject2:ordered(),

1, 40, SubUltimateHealingObject3:ordered(),

1, 40, SubUltimateHealingObject3:ordered(),

4)

end

 

 

E dentro do Arquivo Spells ta assim

 

<spell name="Goku Super Saiyan 2" words="to super saiyan 2" maglv="0" mana="0" enabled="1"><vocation id="1" /></spell>
Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...