Ensnare.lua 387 B

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