Regalia.lua 749 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : Spells/Mage/Enchanter/Illusionist/Regalia.lua
  3. Script Author : neatz09
  4. Script Date : 2020.01.31 06:01:58
  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 22.5 seconds and duration is reduced to 2.5 seconds.
  13. -- Resistibility increases against targets higher than level 29.
  14. function cast(Caster, Target)
  15. AddControlEffect(Target, 1)
  16. Say(Caster, "Resistability + immunity not implemented")
  17. end
  18. function remove(Caster, Target)
  19. RemoveControlEffect(Target, 1)
  20. end