9
3

Mesmerize.lua 622 B

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