Provoke.lua 490 B

123456789101112131415161718
  1. --[[
  2. Script Name : Spells/Fighter/Provoke.lua
  3. Script Author : neatz09
  4. Script Date : 2020.01.02 03:01:04
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Increases Threat to target by 580 - 709
  9. function cast(Caster, Target, MinTauntVal, MaxTauntVal)
  10. if MaxTauntVal ~= nil and MinTauntVal < MaxTauntVal then
  11. AddHate(Caster, Target, math.random(MinTauntVal, MaxTauntVal))
  12. else
  13. AddHate(Caster, Target, MinTauntVal)
  14. end
  15. end