Impale.lua 722 B

1234567891011121314151617181920
  1. --[[
  2. Script Name : Spells/Scout/Predator/Impale.lua
  3. Script Author : neatz09
  4. Script Date : 2020.11.04 12:11:36
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. -- Inflicts 19 - 33 piercing damage on target
  10. -- Inflicts 5 - 9 piercing damage on target instantly and every 4 seconds
  11. -- If facing target
  12. function cast(Caster, Target, DmgType, MinVal, MaxVal, TickType, TickMin, TickMax)
  13. Say(Caster, "Facing Target not implemented")
  14. SpellDamage(Target, DmgType, MinVal, MaxVal)
  15. end
  16. function tick(Caster, Target, DmgType, MinVal, MaxVal, TickType, TickMin, TickMax)
  17. SpellDamage(Target, TickType, TickMin, TickMax)
  18. end