9
3

HangmansNoose.lua 722 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : Spells/Scout/Rogue/Swashbuckler/HangmansNoose.lua
  3. Script Author : Jabantiz
  4. Script Date : 2013.12.15 09:12:11
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, Snare, Mit)
  9. -- Applies Snare. Lasts for 24.0 seconds.
  10. -- Slows target by 28.3%
  11. -- 5% chance to dispel when target receives hostile action
  12. -- 5% chance to dispel when target takes damage
  13. SetSpeedMultiplier(Target, ((100 - Snare) / 100))
  14. -- Decreases Mitigation of target vs arcane damage by 197
  15. AddSpellBonus(Target, 203, Mit)
  16. end
  17. function remove(Caster, Target)
  18. SetSpeedMultiplier(Target, 1)
  19. RemoveSpellBonus(Target)
  20. end