9
3

TauntingBlow.lua 647 B

123456789101112131415161718192021
  1. --[[
  2. Script Name : Spells/Fighter/Warrior/TauntingBlow.lua
  3. Script Author : neatz09
  4. Script Date : 2020.01.02 03:01:10
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, DmgType, DmgLow, DmgHigh, MinTauntVal, MaxTauntVal)
  9. -- Inflicts 7 - 11 melee damage on target
  10. SpellDamage(Target, DmgType, DmgLow, DmgHigh)
  11. -- Increases Threat to target by 435 - 531
  12. if MaxTauntVal ~= nil and MinTauntVal < MaxTauntVal then
  13. hateAmount = math.random(MinTauntVal, MaxTauntVal)
  14. AddHate(Caster, Target, hateAmount)
  15. else
  16. AddHate(Caster, Target, MinTauntVal)
  17. end
  18. end