Reinforcement.lua 693 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : Spells/Fighter/Warrior/Guardian/Reinforcement.lua
  3. Script Author : neatz09
  4. Script Date : 2020.05.13 09:05:17
  5. Script Purpose :
  6. :
  7. --]]
  8. -- On a melee hit this spell will cast Reinforcement on target of attack.
  9. -- Increases threat priority of target by 1 position
  10. -- Increases Threat to target by 1,044
  11. function cast(Caster, Target, Hate)
  12. Say(Caster, "Threat position not implemented")
  13. AddProc(Target, 3, 100)
  14. end
  15. function proc(Caster, Target, Type, Hate)
  16. if Type == 3 then
  17. ProcHate(Caster, Target, Hate, "Reinforcement")
  18. end
  19. end
  20. function remove(Caster, Target)
  21. RemoveProc(Target)
  22. end