StormfeatherBroodGuardian.lua 703 B

1234567891011121314151617181920212223242526272829303132
  1. --[[
  2. Script Name : Spells/Commoner/StormfeatherBroodGuardian.lua
  3. Script Author : neatz09
  4. Script Date : 2019.11.16 06:11:06
  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, Ground, Air)
  15. SetMount(Caster, 382)
  16. --Increases your ground speed by 75%
  17. --Increases your air speed by 150%
  18. AddSpellBonus(Caster, 611, Ground)
  19. AddSpellBonus(Caster, 612, Air)
  20. AddControlEffect(Caster, 12)
  21. end
  22. function remove(Caster, Target)
  23. RemoveSpellBonus(Caster)
  24. SetMount(Caster, 0)
  25. RemoveControlEffect(Caster, 12)
  26. end