TapVeins.lua 746 B

1234567891011121314151617181920
  1. --[[
  2. Script Name : Spells/Fighter/Crusader/Shadowknight/TapVeins.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.12 12:10:27
  5. Script Purpose :
  6. :
  7. --]]
  8. --this needs to hit everything and tap each mob
  9. function cast(Caster, Target, DmgType, MinVal, HealType, pctHealMin, pctHealMax)
  10. -- Applies Tap on termination.
  11. -- Inflicts 543 disease damage on target
  12. SpellDamage(Target, DmgType, MinVal)
  13. -- Heals caster for 2.2 - 2.7% of max health
  14. -- This effect cannot be critically applied.
  15. -- The healing of this spell cannot be modified except by direct means
  16. SpellHeal("Heal", GetPCTOfHP(Caster, pctHealMin), GetPCTOfHP(Caster, pctHealMax), Caster, 2)
  17. end