Manhandle.lua 748 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Fighter/Brawler/Bruiser/Manhandle.lua
  3. Script Author : neatz09
  4. Script Date : 2020.01.23 06:01:25
  5. Script Purpose :
  6. :
  7. --]]
  8. -- On a melee hit this spell may cast Roughhousing on target of attack. Triggers about 5.0 times per minute.
  9. -- Inflicts 12 - 20 melee damage on target
  10. -- Increases Threat to target by 430
  11. function cast(Caster, Target, DmgType, MinVal, MaxVal, Hate)
  12. AddProc(Target, 3, 5)
  13. end
  14. function proc(Caster, Target, Type, DmgType, MinVal, MaxVal, Hate)
  15. ProcDamage(Caster, Target, "Roughhousing", DmgType, MinVal, MaxVal)
  16. ProcHate(Caster, Target, Hate, "Roughhousing")
  17. end
  18. function remove(Caster, Target)
  19. RemoveProc(Target)
  20. end