UnendingAgony.lua 646 B

123456789101112131415161718192021
  1. --[[
  2. Script Name : Spells/Fighter/Crusader/Shadowknight/UnendingAgony.lua
  3. Script Author : Jabantiz
  4. Script Date : 2014.01.11 06:01:02
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, DoTType, MinVal, TickType, TickDmg)
  9. -- Inflicts 51 disease damage on targets in Area of Effect
  10. if MinVal ~= nil then
  11. SpellDamage(Target, DoTType, MinVal)
  12. end
  13. end
  14. function tick(Caster, Target, DoTType, MinVal, TickType, TickDmg)
  15. -- Inflicts 34 disease damage on targets in Area of Effect every 4 seconds
  16. if TickDmg ~= nil then
  17. SpellDamage(Target, TickType, TickDmg)
  18. end
  19. end