SilentThreat.lua 460 B

12345678910111213141516
  1. --[[
  2. Script Name : Spells/Fighter/Brawler/Monk/SilentThreat.lua
  3. Script Author : Jabantiz
  4. Script Date : 2014.01.13 07:01:52
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, MinVal, MaxVal)
  9. -- Increases Threat to target by 355 - 434
  10. if MaxVal ~= nil and MinVal < MaxVal then
  11. AddHate(Caster, Target, math.random(MinVal, MaxVal), 1)
  12. else
  13. AddHate(Caster, Target, MinVal, 1)
  14. end
  15. end