WaterSpirit.lua 695 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : Spells/Priest/Shaman/Mystic/WaterSpirit.lua
  3. Script Author : neatz09
  4. Script Date : 2019.09.28 11:09:34
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. -- Allows group members (AE) to breathe under water
  10. -- Allows group members (AE) to walk under water
  11. -- Allows group members (AE) to jump under water
  12. function cast(Caster, Target)
  13. BreatheUnderwater(Target, true)
  14. AddControlEffect(Target, 7)
  15. AddControlEffect(Target, 8)
  16. end
  17. function remove(Caster, Target)
  18. BreatheUnderwater(Target, false)
  19. RemoveControlEffect(Target, 7)
  20. RemoveControlEffect(Target, 8)
  21. end