9
3

SanctuaryNoProc.lua 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. --[[
  2. Script Name : Spells/Priest/Cleric/Templar/SanctuaryNoProc.lua
  3. Script Author : neatz09
  4. Script Date : 2020.10.27 12:10:19
  5. Script Purpose : Sanctuary II
  6. :
  7. --]]
  8. -- Makes group members (AE) immune to Root effects
  9. -- Makes group members (AE) immune to Stifle effects
  10. -- Makes group members (AE) immune to Stun effects
  11. -- Makes group members (AE) immune to Fear effects
  12. -- Makes group members (AE) immune to Daze effects
  13. -- Makes group members (AE) immune to Mesmerize effects
  14. function cast(Caster, Target)
  15. AddImmunitySpell(5, Target) --Root
  16. AddImmunitySpell(2, Target) --Stifle
  17. AddImmunitySpell(4, Target) --Stun
  18. AddImmunitySpell(6, Target) --Fear
  19. AddImmunitySpell(3, Target) --Daze
  20. AddImmunitySpell(1, Target) --Mez
  21. Say(Caster, "PVP Immunity not implemented.")
  22. end
  23. function remove(Caster, Target)
  24. RemoveImmunitySpell(5, Target) --Root
  25. RemoveImmunitySpell(2, Target) --Stifle
  26. RemoveImmunitySpell(4, Target) --Stun
  27. RemoveImmunitySpell(6, Target) --Fear
  28. RemoveImmunitySpell(3, Target) --Daze
  29. RemoveImmunitySpell(1, Target) --Mez
  30. end