1234567891011121314151617181920212223242526272829303132 |
- --[[
- Script Name : Spells/Commoner/NightmarePlainSaddle.lua
- Script Author : Skywalker646
- Script Date : 2020.01.08 09:01:57
- Script Purpose :
- :
- --]]
- function precast(Caster)
- if GetMount(Caster) > 0 then
- return false
- end
- return true
- end
- function cast(Caster, Target, Speed, Mit)
- SetMount(Caster, 6831)
- SetMountColor(Caster, 0, 0, 0, 255, 255, 255)
- --Increases your ground speed by 130%
- AddSpellBonus(Caster, 611, Speed)
- --Increases Mitigation of caster vs elemental, noxious and arcane damage by 200
- AddSpellBonus(Caster, 201, Mit)
- AddSpellBonus(Caster, 202, Mit)
- AddSpellBonus(Caster, 203, Mit)
- end
- function remove(Caster, Target)
- RemoveSpellBonus(Caster)
- SetMount(Caster, 0)
- end
|