Ir para conteúdo

Magia Para Druida...


Wey.Ctba

Posts Recomendados

Aki vai uma magia que eu fiz para druida "exevo gran mas energy" que é um pouco mais forte que mas pox.

Crie um arquivo .xml e coloque isso em editar:

 

    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, 1, 1, 1, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0},

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

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

        {0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0},

        {0, 0, 0, 0, 0, 0, 0, 1, 1, 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}

 

    }

 

    attackType = ATTACK_ENERGY

    needDirection = true

    areaEffect = NM_ME_ENERGY_AREA

    animationEffect = NM_ANI_NONE

 

    hitEffect = NM_ME_EXPLOSION_DAMAGE

    damageEffect = NM_ME_ENERGY_DAMAGE

    animationColor = RED

    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 * 3 + maglv *2) * 0.8

    GreatEnergyBeamObject.maxDmg = (level * 3 + maglv *2)

 

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

    end

 

 

Dai logo depois vá em spells e coloque:

 

<spell name="Ultimate Energy" words="exevo gran mas energy" maglv="70" mana="1500" enabled="1"><vocation id="2" /></spell>

 

Vlw aceito reclamações e dicas ;)

Link para o comentário
Compartilhar em outros sites

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

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