9
3

FeastingSoul.lua 830 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : Spells/Mage/Summoner/Necromancer/FeastingSoul.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.14 11:10:55
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Inflicts 112 disease damage on target instantly and every 4 seconds
  9. function cast(Caster, Target, DmgType, MinVal, MaxVal, MinHP, MinPwr)
  10. SpellDamage(Target, DmgType, MinVal, MaxVal)
  11. SpellHeal(Heal, MinHP, nil, Caster, 2, 1)
  12. SpellHeal(Heal, MinPwr, nil, Caster, 2, 1)
  13. end
  14. -- Heals caster for 74 instantly and every 4 seconds
  15. -- Increases power of caster by 37 instantly and every 4 seconds
  16. function tick(Caster, Target, DmgType, MinVal, MaxVal, MinHP, MinPwr)
  17. SpellDamage(Target, DmgType, MinVal, MaxVal)
  18. SpellHeal(Heal, MinHP, nil, Caster, 2, 1)
  19. SpellHeal(Heal, MinPwr, nil, Caster, 2, 1)
  20. end