9
3

BrutalInspiration.lua 973 B

1234567891011121314151617181920212223242526272829303132
  1. --[[
  2. Script Name : Spells/AA/BrutalInspiration.lua
  3. Script Author : neatz09
  4. Script Date : 2020.12.13 02:12:00
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Makes target immune to Root effects
  9. -- Makes target immune to Stun effects
  10. -- Makes target immune to Stifle effects
  11. -- Makes target immune to Fear effects
  12. -- Makes target immune to Daze effects
  13. -- Makes target immune to Mesmerize effects
  14. function cast(Caster, Target)
  15. AddImmunitySpell(5, Target) --Root
  16. AddImmunitySpell(4, Target) --Stun
  17. AddImmunitySpell(2, Target) --Stifle
  18. AddImmunitySpell(6, Target) --Fear
  19. AddImmunitySpell(3, Target) --Daze
  20. AddImmunitySpell(1, Target) --Mez
  21. end
  22. function remove(Caster, Target)
  23. RemoveImmunitySpell(5, Target) --Root
  24. RemoveImmunitySpell(4, Target) --Stun
  25. RemoveImmunitySpell(2, Target) --Stifle
  26. RemoveImmunitySpell(6, Target) --Fear
  27. RemoveImmunitySpell(3, Target) --Daze
  28. RemoveImmunitySpell(1, Target) --Mez
  29. end