AbsoluteCorruption.lua 740 B

12345678910111213141516171819202122232425262728
  1. --[[
  2. Script Name : Spells/Priest/Shaman/Defiler/AbsoluteCorruption.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.10 10:10:28
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Inflicts 37 - 46 disease damage on target encounter instantly and every 3 seconds
  9. function cast(Caster, Target, DmgType, MinVal, MaxVal, Nox)
  10. -- Interrupts target encounter
  11. Interrupt(Caster, Target)
  12. SpellDamage(Target, DmgType, MinVal, MaxVal)
  13. -- Decreases Mitigation of target encounter vs noxious damage by 414
  14. AddSpellBonus(Target, 202, Nox)
  15. end
  16. function tick(Caster, Target)
  17. SpellDamage(Target, DmgType, MinVal, MaxVal)
  18. end
  19. function remove(Caster, Target)
  20. RemoveSpellBonus(Target)
  21. end