Abominus.lua 628 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Priest/Shaman/Defiler/Abominus.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.10 09:10:42
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target)
  9. -- Allows group members (AE) to breathe under water
  10. BreatheUnderwater(Target, true)
  11. -- Allows group members (AE) to jump under water
  12. AddControlEffect(Target, 8)
  13. -- Allows group members (AE) to walk under water
  14. AddControlEffect(Target,7)
  15. end
  16. function remove(Caster, Target)
  17. BreatheUnderwater(Target, False)
  18. RemoveControlEffect(Target, 8)
  19. RemoveControlEffect(Target, 7)
  20. end