Ir para conteúdo

Exevo Gran Mas Energy....(primeira Spell)


Amatou

Posts Recomendados

Primeiro va em data/spells abra o arquivo spells.xml e cole isso

 

<spell name="Exevo Gran Mas Energy" words="Exevo Gran Mas Energy" maglv="50" mana="1200" enabled="1"><vocation id="1" /></spell>

 

depois vá em \data\spells\scripts\ se for 8.4 vá em \data\spells\scripts\attack

 

copie qualquer arquivo e renomeie para Exevo Gran Mas Energy apague tudo do arquivo e cole isto..

 

area = {

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

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

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

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

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

}

 

 

attackType = ATTACK_ENERGY

needDirection = false

areaEffect = NM_ME_EXPLOSION_AREA

animationEffect = NM_ANI_ENERGY

hitEffect = HitEffect

damageEffect = NM_ME_EXPLOSION_AREA

animationColor = RED

offensive = Offensive

drawblood = DrawBlood

 

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

 

SpellObject.minDmg = 1000

SpellObject.maxDmg = 10000

 

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

 

end

 

Ty All ;*

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...