9
3

Mesmerize.lua 718 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : Spells/Mage/Enchanter/Coercer/Mesmerize.lua
  3. Script Author : John Adams
  4. Script Date : 2013.11.20 05:11:13
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. -- Mesmerizes target
  10. -- Prevents AOE (except when direct)
  11. -- Dispelled when target takes damage
  12. -- Epic targets gain an immunity to Mesmerize effects of 45.0 seconds and duration is reduced to 5.0 seconds.
  13. -- Resistibility increases against targets higher than level 29.
  14. function cast(Caster, Target, ControlType)
  15. AddControlEffect(Target, ControlType)
  16. end
  17. function remove(Caster, Target, ControlType)
  18. RemoveControlEffect(Target, ControlType)
  19. end