HiltStrike.lua 615 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : Spells/Scout/HiltStrike.lua
  3. Script Author : neatz09
  4. Script Date : 2020.09.03 11:09:49
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Interrupts target
  9. -- Inflicts 17 - 21 crushing damage on target
  10. -- Stuns target
  11. -- If Target is not Epic
  12. function cast(Caster, Target, DmgType, MinVal, MaxVal)
  13. Say(Caster, "This need spell needs a formula")
  14. Interrupt(Caster, Target)
  15. SpellDamage(Target, DmgType, MinVal, MaxVal)
  16. AddControlEffect(Target, 4)
  17. end
  18. function remove(Caster, Target)
  19. RemoveControlEffect(Target, 4)
  20. end