UnholySteed.lua 578 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : Spells/Commoner/UnholySteed.lua
  3. Script Author : neatz09
  4. Script Date : 2020.07.22 12:07:50
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. -- Summons a mount to ride
  10. -- Increases your ground speed by 130%
  11. function cast(Caster, Target, Speed)
  12. SetMount(Caster, 6852)
  13. SetMountColor(Caster, 0, 0, 0, 80, 0, 0)
  14. AddSpellBonus(Target, 609, Speed)
  15. end
  16. function remove(Caster, Target)
  17. SetMount(Caster, 0)
  18. RemoveSpellBonus(Target)
  19. end