9
3

Cripple.lua 542 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Commoner/Cripple.lua
  3. Script Author : neatz09
  4. Script Date : 2020.09.25 01:09:54
  5. Script Purpose : Subspell for wall of rage
  6. :
  7. --]]
  8. function cast(Caster, Target, SlowMod)
  9. SetSpeedMultiplier(Target, SlowMod)
  10. AddProc(Target, 1, 5)
  11. AddProc(Target, 15, 5)
  12. end
  13. function proc(Caster, Target, Type, SlowMod)
  14. if type == 1 or type == 15 then
  15. CancelSpell()
  16. end
  17. end
  18. function remove(Caster, Target)
  19. SetSpeedMultiplier(Target, 1)
  20. RemoveProc(Target)
  21. end