oi dinovu eu aki essa vez vim com uma magia mais fraca.
mesmos passos da de antes e coloka issu dentro de um bloco chamado death monk.
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_BURST
needDirection = false
areaEffect = NM_ME_BLOCKHIT
animationEffect = NM_ANI_LARGEROCK
hitEffect = NM_ME_HITBY_FIRE
damageEffect = NM_ME_BLOCKHIT
animationColor = BLACK
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 = 50
SpellObject.maxDmg = 350
return doAreaMagic(cid, centerpos, needDirection, areaEffect, area, SpellObject:ordered())
end
__________________________________________________________
depois issu em spells.xml
<spell name="Death Monk" words="death sonor" maglv="5" mana="50" enabled="1"><vocation id="1" /><vocation id="2" /><vocation id="3" /><vocation id="4" /></spell>
Espero q essa seja aproveitada!!!!
E quero ver em vários server's!!!hsshuuhsaaus
Vlw pela crítica e sugestão Planta.