Taunt.lua 576 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : Spells/Fighter/Taunt.lua
  3. Script Author : neatz09
  4. Script Date : 2020.11.03 02:11:15
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Increases Threat to target by 135 - 166
  9. --[[function cast(Caster, Target, MinVal, MaxVal)
  10. if MaxVal ~= nil and MinVal < MaxVal then
  11. AddHate(Caster, Target, math.random(MaxVal, MinVal), 1)
  12. else
  13. AddHate(Caster, Target, MinVal, 1)
  14. end
  15. end
  16. --]]
  17. function cast(Caster, Target, MinVal, MaxVal)
  18. AddHate(Caster, Target, math.random(MinVal, MaxVal), 1)
  19. end