9
3

Hamstring.lua 633 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : Spells/Scout/Rogue/Swashbuckler/Hamstring.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.11 10:10:02
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Inflicts 211 - 352 melee damage on target
  9. function cast(Caster, Target, DmgType, MinVal, MaxVal, Snare)
  10. SpellDamage(Target, DmgType, MinVal, MaxVal)
  11. -- Slows target by 37.6%
  12. -- 5% chance to dispel when target receives hostile action
  13. -- 5% chance to dispel when target takes damage
  14. SetSpeedMultiplier(Target, ((100 - Snare) / 100))
  15. end
  16. function remove(Caster, Target)
  17. SetSpeedMultiplier(Target, 1)
  18. end