Ensnare.lua 420 B

123456789101112131415161718192021
  1. --[[
  2. Script Name : Spells/Procs/Ensnare.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.11.28 10:11:00
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, Snare)
  9. local Slow = 100.0 - Snare
  10. SetSpellSnareValue(Target, Slow)
  11. AddControlEffect(Target, 11)
  12. end
  13. function remove(Caster, Target)
  14. RemoveControlEffect(Target, 11)
  15. end