9
3

ForcedHesitation.lua 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. --[[
  2. Script Name : Spells/Mage/Enchanter/Coercer/ForcedHesitation.lua
  3. Script Author : Jabantiz
  4. Script Date : 2014.03.14 08:03:18
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target)
  9. -- Applies Blind. Lasts for 4.0 seconds.
  10. -- Dazes target
  11. -- Blurs vision of target
  12. -- Dispelled when target takes damage
  13. -- Epic targets gain an immunity to Daze effects of 12.0 seconds and duration is reduced to 1.3 seconds.
  14. -- Roots target
  15. AddControlEffect(Target, 5)
  16. -- 5% chance to dispel when target takes damage
  17. AddProc(Target, 2, 5.0)
  18. -- Epic targets gain an immunity to Root and Will not multi-attack if the primary attack was avoided. effects of 54.0 seconds and duration is reduced to 6.0 seconds.
  19. -- Resistibility increases against targets higher than level 29.
  20. end
  21. function proc(Caster, Target, Type)
  22. if Type == 2 then
  23. CancelSpell()
  24. end
  25. end
  26. function remove(Caster, Target)
  27. RemoveControlEffect(Target, 5)
  28. end