Ir para conteúdo

Exevo Gran Mas Mort


Xblade

Posts Recomendados

ta ai uma spell legal

 

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, 1, 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_MORT_AREA

animationEffect = NM_ANI_SUDDENDEATH

 

hitEffect = NM_ME_MORT_AREA

damageEffect = NM_ME_MORT_AREA

animationColor = BLUE

offensive = true

drawblood = true

 

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

GreatEnergyBeamObject.minDmg = (level * 10 + maglv *10) * 5.0

GreatEnergyBeamObject.maxDmg = (level * 10 + maglv *10) * 10.0

 

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

end

 

 

Ai coloque isoo na Spell XML

 

<spell name="Ultimate Mort" words="exevo gran mas mort" maglv="45" mana="950" enabled="1" premium="0"><vocation id="1" /></spell>
Link para o comentário
Compartilhar em outros sites

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

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