Abuse.lua 513 B

1234567891011121314151617181920
  1. --[[
  2. Script Name : Spells/Fighter/Brawler/Bruiser/Abuse.lua
  3. Script Author : Dello
  4. Script Date : 25/06/2014
  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. if target ~= nil then
  16. Interrupt(Caster, Target)
  17. end
  18. end