Nome:exevo gran vis shock
Para que vocações?: Sorcerer e Druid
ML:50
O que faz: Vc sabe akela magia "exevo gran vis lux"?
Pois este spell é essa magia mas...
Mais forte e manda para as direcçoes na vertical e na horizontal (/\, ->, <-, \/)
Para começar...
Va na pasta data/spells/instant abra um bloco de notas e cloque la o seguinte:
area = {
{0, 0, 0, 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, 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, 1, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0},
{1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1},
{0, 0, 0, 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, 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, 1, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0}
}
attackType = ATTACK_ENERGY
needDirection = false
areaEffect = NM_ME_ENERGY_DAMAGE
animationEffect = NM_ANI_NONE
hitEffect = NM_ME_EXPLOSION_DAMAGE
damageEffect = NM_ME_ENERGY_DAMAGE
animationColor = LIGHT_BLUE
offensive = true
drawblood = false
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 * 2 + maglv *3) * 1.9
GreatEnergyBeamObject.maxDmg = (level * 2 + maglv *3) * 2.5
return doAreaMagic(cid, centerpos, needDirection, areaEffect, area,
GreatEnergyBeamObject:ordered())
end
E grave com o nome de "exevo gran vis shock"
Agora va a data\spells e abra o spells.xml
Lá coloque:
<spell name="exevo gran vis shock" words="exevo gran vis shock" maglv="50" mana="300" enabled="1"><vocation id="1" /><vocation id="2" /></spell>
genti eu colokei essa magia nu meu ot sem nenhum bug e perfeitinha xD
se v6 gostarem das minhas spells postarei mais em breve...
comentem ai genti poh =/
tpw alguem so mi explica como colokar imagen....shuasauhashu