9
3

ManaSieve.lua 842 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : Spells/Fighter/Crusader/Shadowknight/ManaSieve.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.18 08:10:11
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Inflicts 268 - 446 disease damage on target
  9. -- Inflicts 67 - 112 disease damage on target every 4 seconds
  10. -- Increases power of caster by 146 - 244
  11. -- Increases power of caster by 32 - 53 every 4 seconds
  12. function cast(Caster, Target, DmgType, MinVal, MaxVal, MinHeal, MaxHeal, DoTType, DoTMin, DoTMax, HoTMin, HotMax)
  13. SpellDamage(Target, DmgType, MinVal, MaxVal)
  14. SpellHeal("Power", MinHeal, MaxHeal, Caster)
  15. end
  16. function tick(Caster, Target, DmgType, MinVal, MaxVal, MinHeal, MaxHeal, DoTType, DoTMin, DoTMax, HoTMin, HotMax)
  17. SpellDamage(Target, DoTType, DotMin, DoTMax)
  18. SpellHeal("Power", HoTMin, HoTMax, Caster)
  19. end