Aew galera... so novato nessas coisa d OT serv, mais ja fiz varias magias sozinho (fuçando nas coisas) bom, aqui vai uma runa legalzinha, ela se chama GMB (Great Mort Ball) eh uma GFB d SD.
-----------------------------------------------------------------------------------------
Primeiro crie um novo bloco d notas, coloque o nome de "adori gran mort" e cole:
function onCast(cid, creaturePos, level, maglv, var)n = makeRune(cid,2264,3,10);
return n
end
coloque isso no: "data/spells/instant"
------------------------------------------------------------------------------------------
Depois crie outro bloco de notas, coloque o nome de "adori gran mort"(tambem) e cole:
area = {{0, 0, 1, 1, 1, 0, 0},
{0, 1, 1, 1, 1, 1, 0},
{1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1},
{0, 1, 1, 1, 1, 1, 0},
{0, 0, 1, 1, 1, 0, 0}
}
attackType = ATTACK_PHYSICAL
areaEffect = NM_ME_MORT_AREA
animationEffect = NM_ANI_SUDDENDEATH
hitEffect = NM_ME_MORT_AREA
damageEffect = NM_ME_MORT_AREA
animationColor = 225
offensive = true
drawblood = true
GreatFireballObject = 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}
GreatFireballObject.minDmg = (level * 2 + maglv *3) * 0.40
GreatFireballObject.maxDmg = (level * 2 + maglv *3) * 0.75
return doAreaMagic(cid, centerpos, needDirection, areaEffect, area, GreatFireballObject:ordered())
end
coloque isso no "data/spells/runes"
--------------------------------------------------------------------------------------------
Depois abra o spells.xml (Obs: clique com o botão direito e clique em "Abrir com...>Bloco de Notas) e adicione em:
»MAKE RUNES
<spell name="adori gran mort" words="adori gran mort" maglv="40" mana="1000" enabled="1"><vocation id="1" /><vocation id="2" /></spell>
»RUNES
<rune name="adori gran mort" id="2264" charges="10" maglv="20" mana="0" enabled="1"></rune>
Bom galera, eh issu, espero que tenham gostado...