Nightmare.lua 652 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : Spells/Mage/Enchanter/Illusionist/Nightmare.lua
  3. Script Author : theFoof
  4. Script Date : 2014.3.1
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, DmgType, DmgLow, DmgHigh, Debuff)
  9. -- Decreases Mitigation of target vs arcane damage by 141
  10. -- Inflicts 21 - 25 mental damage on target instantly and every 6 seconds
  11. SpellDamage(Target, DmgType, DmgLow, DmgHigh)
  12. AddSpellBonus(Target, 203, Debuff)
  13. end
  14. function tick(Caster, Target, DmgType, DmgLow, DmgHigh, Debuff)
  15. SpellDamage(Target, DmgType, DmgLow, DmgHigh)
  16. end
  17. function remove(Caster, Target)
  18. RemoveSpellBonus()
  19. end