Skip to content

Commit

Permalink
Merge pull request #4342 from syrifgit/thewarwithin
Browse files Browse the repository at this point in the history
  • Loading branch information
Hekili authored Feb 9, 2025
2 parents c9faeb6 + be9f46d commit e61ab46
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions TheWarWithin/WarriorFury.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:RegisterResource( Enum.PowerType.Rage, {

stop = function () return state.time == 0 or state.swings.mainhand == 0 end,
value = function ()
local baseAmt = base_rage_gen * fury_rage_mult * state.talent.war_machine.enabled and 1.2 or 1 -- "static" amount
local baseAmt = base_rage_gen * fury_rage_mult * ( state.talent.war_machine.enabled and 1.2 or 1 ) -- "static" amount
return ( baseAmt * ( state.buff.recklessness.up and 2 or 1 ) * state.swings.mainhand_speed ) -- Dynamic factors
end
},
Expand All @@ -53,7 +53,8 @@ spec:RegisterResource( Enum.PowerType.Rage, {

stop = function () return state.time == 0 or state.swings.offhand == 0 end,
value = function ()
return ( ( state.talent.war_machine.enabled and 1.2 or 1 ) * base_rage_gen * fury_rage_mult * state.swings.offhand_speed * offhand_mod )
local baseAmt = base_rage_gen * fury_rage_mult * ( state.talent.war_machine.enabled and 1.2 or 1 ) -- "static" amount
return ( baseAmt * ( state.buff.recklessness.up and 2 or 1 ) * state.swings.offhand_speed * offhand_mod ) -- Dynamic factors
end,
},

Expand Down

0 comments on commit e61ab46

Please sign in to comment.