1234567891011121314151617181920212223242526 |
- --[[
- Script Name : Spells/Fighter/Brawler/TauntingSlap.lua
- Script Author : LordPazuzu
- Script Date : 9/29/2023
- Script Purpose :
- :
- --]]
- function cast(Caster, Target, MinVal, MaxVal)
- Level = GetLevel(Caster)
- SpellLevel = 17
- Mastery = SpellLevel + 10
- StatBonus = GetStr(Caster) / 10
-
- if Level < Mastery then
- LvlBonus = Level - SpellLevel
- else LvlBonus = Mastery - SpellLevel
- end
-
- HateBonus = LvlBonus * 4
- MaxHate = MaxVal + HateBonus
- MinHate = MinVal + HateBonus
- AddHate(Caster, Target, math.random(MinHate,MaxHate),1)
-
- end
|