Bom Galera vim postar aqui uma magia que eu mesmo fiz muito facil.
Detalhes:
Tipo de Ataque: Poison
Cor da Animação: Verde
Dano Minimo: 350
Dano Maximo: 690
Nome da Palavra Magica: Exevo Poison
Crie um Arquivo na pasta das Speels com o nome de Exevo Poison depois disso cole na dentro dele isso:
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, 0, 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_POISON
needDirection = true
areaEffect = NM_ME_PUFF
animationEffect = NM_ANI_ENERGY
hitEffect = NM_ME_POISEN_RINGS
damageEffect = NM_ME_POISEN_RINGS
animationColor = GREEN
offensive = true
drawblood = true
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 = 350
SpellObject.maxDmg = 690
return doAreaMagic(cid, centerpos, needDirection, areaEffect, area, SpellObject:ordered())
end
Depois vá aonde diz Spells.XML e coloque isso nas magias:
<spell name="Exevo Poison" words="Exevo Poison" maglv="70" mana="800" enabled="1"><vocation id="1" /><vocation id="2" /></spell>
Espero Que gostem e que tenha ajudado Se for postar em Outro site 90% Dos Créditos a mim e 10 A Você.
Obrigado.
:XTibia_smile: