HoldtheLine.lua 552 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : Spells/Fighter/Warrior/HoldtheLine.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.01.03 02:01:18
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, SelfSnare, Hate)
  9. local Slow = 1.0 - SelfSnare
  10. SetSpeedMultiplier(Caster, Slow)
  11. AddProc(Caster, 15, 50.0)
  12. end
  13. function proc(Caster, Target, Type, Hate)
  14. if Type == 15 then
  15. AddHate(Caster, Target, Hate, 1)
  16. end
  17. end
  18. function remove(Caster, Target)
  19. SetSpeedMultiplier(Caster, 1)
  20. end