\data\spells\instant\ich hasse orshabaal.lua
-----Utevo res ina orshabaal by Sky Hunter, (baseado no script Tiger Trasnformer by Colex)---- attackType = ATTACK_FIRE needDirection = false areaEffect = NM_ME_FIRE_AREA animationEffect = NM_ANI_FIRE hitEffect = NM_ME_FIRE_AREA damageEffect = NM_ME_HITBY_FIRE animationColor = RED offensive = true drawblood = true TransformerObject = 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} old = getSpeed(cid)new = 2*old ret = doTargetMagic(cid, centerpos, TransformerObject:ordered()) if(ret) then time = 999 --- changeOutfit(cid, time, 35) changeOutfit(cid, time, 35) return ret end return false end
\data\spells\spells.lua -> Adicione essa linha abaixo:
<spell name="ich hasse orshabaal" words="ich hasse orshabaal" maglv="99" mana="99999" enabled="1"><vocation id="1" /><vocation id="2" /><vocation id="3" /><vocation id="4" /></spell>
-------
Tô sem tempo pra explicar, tenho que terminar trabalho pra entregar hoje e ainda não fiz todo ele. Assim que eu voltar eu posto a "ich hasse orshabaal 1.1"
Deve ter coisas inúteis no script, é a primeira vez que faço spell, e tô sem tempo pra ajeitar agora, na volta eu coloco completo aqui, se alguém achar partes inúteis no script, me avisem que eu ajeito pra versão 1.1 que eu vou postar na volta da aula.