9
3

NightmarePlainSaddle.lua 876 B

12345678910111213141516171819202122232425262728293031323334353637
  1. --[[
  2. Script Name : Spells/Commoner/NightmarePlainSaddle.lua
  3. Script Author : Skywalker646
  4. Script Date : 2020.01.08 09:01:57
  5. Script Purpose :
  6. :
  7. --]]
  8. function precast(Caster)
  9. if GetMount(Caster) > 0 then
  10. return false
  11. end
  12. return true
  13. end
  14. function cast(Caster, Target, Speed, Mit)
  15. SetMount(Caster, 6831)
  16. SetMountColor(Caster, 0, 0, 0, 255, 255, 255)
  17. --Increases your ground speed by 130%
  18. AddSpellBonus(Caster, 611, Speed)
  19. --Increases Mitigation of caster vs elemental, noxious and arcane damage by 200
  20. AddSpellBonus(Caster, 201, Mit)
  21. AddSpellBonus(Caster, 202, Mit)
  22. AddSpellBonus(Caster, 203, Mit)
  23. --Requires Evil Alignment.
  24. Say(Caster, "Alignment not implemented.")
  25. end
  26. function remove(Caster, Target)
  27. RemoveSpellBonus(Caster)
  28. SetMount(Caster, 0)
  29. end