9
3

TapVeins.lua 836 B

12345678910111213141516171819202122
  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. Say(Caster, "spell heals a portion of total amount of damage... not implemented.")
  11. -- Applies Tap on termination.
  12. -- Inflicts 543 disease damage on target
  13. SpellDamage(Target, DmgType, MinVal)
  14. -- Heals caster for 2.2 - 2.7% of max health
  15. -- This effect cannot be critically applied.
  16. -- The healing of this spell cannot be modified except by direct means
  17. SpellHeal("Heal", GetPCTOfHP(Caster, pctHealMin), GetPCTOfHP(Caster, pctHealMax), Caster, 2)
  18. end