Spirits.lua 640 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Priest/Shaman/Mystic/Spirits.lua
  3. Script Author : Jabantiz
  4. Script Date : 2013.12.13 07:12:26
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, Hate)
  9. -- Mesmerizes targets in Area of Effect
  10. -- If Target is not Epic
  11. if not IsEpic(Target) then
  12. AddControlEffect(Target, 1)
  13. end
  14. -- Decreases Threat to targets in Area of Effect by 323
  15. AddHate(Target, Hate)
  16. -- Decreases threat priority of targets in Area of Effect by 1 position
  17. end
  18. function remove(Caster, Target)
  19. RemoveControlEffect(Target, 1)
  20. end