ChromaticStorm.lua 661 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : Spells/Mage/Enchanter/Illusionist/ChromaticStorm.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. -- Inflicts X - Y mental damage on target encounter instantly and every 2 seconds
  10. -- Applies Stumble on termination.
  11. -- Interrupts target
  12. -- Interrupts target encounter
  13. SpellDamage(Target, DmgType, DmgLow, DmgHigh)
  14. Interrupt(Caster)
  15. end
  16. function tick(Caster, Target)
  17. SpellDamage(Target, DmgType, DmgLow, DmgHigh)
  18. end
  19. function remove(Caster, Target)
  20. Interrupt(Caster)
  21. end