bom essa eh minha primeira magia.... ela faz vc corre kenem god xD
copie um arkivo no data/spells/instant e cole-o e coloke o nome dele d utani mega master hur abra o arkivo e coloke isso:
attackType = ATTACK_NONE
animationEffect = NM_ANI_NONE
hitEffect = NM_ME_NONE
damageEffect = NM_ME_MAGIC_POISEN
animationColor = GREEN
offensive = false
drawblood = false
GreatHasteObject = 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}
ret = doTargetMagic(cid, centerpos, GreatHasteObject:ordered())
if(ret) then
speed = getSpeed(cid)
time = 580 --in seconds
addspeed = (speed*9.9)-56
changeSpeed(cid, addspeed, time)
end
return ret
end
dps vah em data/spells/spells.xml e coloke isso
<spell name="utani mega master hur" words="utani mega master hur" maglv="25" mana="1500" enabled="1"><vocation id="4" /><vocation id="2" /><vocation id="3" /><vocation id="1" /></spell>
c kiserem editem o ml e mana pra usa...comentem plxx