ola galera,resolvi postar um topic de como criar essa magia...
primeiro va em:
data/spells/instant/copie um arquivo...cole...e cole isso...e renomeie para "sd sio"
attackType = ATTACK_PHYSICAL animationEffect = NM_ANI_SUDDENDEATH hitEffect = NM_ME_MORT_AREA damageEffect = NM_ME_DRAW_BLOOD animationColor = RED offensive = true drawblood = true HealFriendObject = 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} targetpos = getPosition(var) HealFriendObject.minDmg = (level * 3 + maglv * 1) * 1 HealFriendObject.maxDmg = (level * 4 + maglv * 2) * 1 + 20 if targetpos.x ~= nil and targetpos.z ~= nil and targetpos.y ~= nil then if math.abs(targetpos.x - centerpos.x) < 18 and math.abs(targetpos.y - centerpos.y) < 14 and targetpos.z == centerpos.z then return doTargetMagic(cid, targetpos, HealFriendObject:ordered()) end end return false end
depois va em actions.xml e cole essa tag:
<spell name="sd sio" words="sd sio" maglv="20" mana="80" enabled="1"><vocation id="1" /></spell>
para vc atacar fale:
Exemplo: sd sio "Pekeboi
ai vai tacar uma sd no cara...
Creditos by me