9
3

SideSwipe.lua 640 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : Spells/Traditions/SideSwipe.lua
  3. Script Author : neatz09
  4. Script Date : 2020.08.18 01:08:19
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Inflicts 1 - 2 crushing damage on target
  9. -- Stuns target
  10. -- Epic targets gain an immunity to Stun effects of 5.6 seconds and duration is reduced to 0.6 seconds.
  11. -- Resistibility increases against targets higher than level 29.
  12. function cast(Caster, Target, DmgType, MinVal, MaxVal)
  13. AddControlEffect(Target, 4)
  14. SpellDamage(Target, DmgType, MinVal, MaxVal)
  15. end
  16. function remove(Caster, Target)
  17. RemoveControlEffect(Target, 4)
  18. end