9
3

HiltStrike.lua 635 B

12345678910111213141516171819202122232425
  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. if not IsEpic() then
  14. AddControlEffect(Target, 4)
  15. end
  16. Say(Caster, "This need spell needs a formula")
  17. Interrupt(Caster, Target)
  18. SpellDamage(Target, DmgType, MinVal, MaxVal)
  19. end
  20. function remove(Caster, Target)
  21. RemoveControlEffect(Target, 4)
  22. end