Aneurysm.lua 627 B

123456789101112131415161718192021
  1. --[[
  2. Script Name : Spells/Mage/Enchanter/Illusionist/Aneurysm.lua
  3. Script Author : theFoof
  4. Script Date : 2014.3.1
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, DmgType, DmgLow, DmgHigh)
  9. -- Dazes target
  10. -- Inflicts 65 - 79 mental damage on target
  11. -- Epic targets gain an immunity to Daze effects of 13.5 seconds and duration is reduced to 1.5 seconds.
  12. -- Resistibility increases against targets higher than level 29.
  13. SpellDamage(Target, DmgType, DmgLow, DmgHigh)
  14. AddControlEffect(Target, 3)
  15. end
  16. function remove(Caster, Target)
  17. RemoveControlEffect(Target, 3)
  18. end