NightmareBlackSaddle.lua 866 B

1234567891011121314151617181920212223242526272829303132333435
  1. --[[
  2. Script Name : Spells/Commoner/NightmareBlackSaddle.lua
  3. Script Author : Skywalker646
  4. Script Date : 2020.01.08 09:01:03
  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, 0, 0, 0)
  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