9
3

Disorientation.lua 654 B

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