Skip to content

Commit aa2332f

Browse files
author
LocalIdentity
committed
Fix Crit fork chance always showing up on attacks
1 parent 5cadb2e commit aa2332f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Modules/CalcSections.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ return {
546546
{ label = "Player modifiers", modName = { "CritChance", "WeaponBaseCritChance", "MainHandCritIsEqualToParent", "MainHandCritIsEqualToPartyMember", "AttackCritIsEqualToParentMainHand" }, cfg = "weapon1" },
547547
{ label = "Enemy modifiers", modName = "SelfCritChance", enemy = true },
548548
}, },
549-
{ label = "MH Crit Forks", bgCol = colorCodes.MAINHANDBG, flag = "weapon1Attack", { format = "{2:output:MainHand.CritForks}%",
549+
{ label = "MH Crit Forks", bgCol = colorCodes.MAINHANDBG, haveOutput = "MainHand.CritForks", flag = "weapon1Attack", { format = "{2:output:MainHand.CritForks}%",
550550
{ breakdown = "MainHand.CritForks" },
551551
{ label = "Player modifiers", modName = "ForkCrit", cfg = "weapon1" },
552552
}, },
@@ -566,7 +566,7 @@ return {
566566
{ label = "Player modifiers", modName = { "CritChance", "WeaponBaseCritChance", "AttackCritIsEqualToParentMainHand" }, cfg = "weapon2" },
567567
{ label = "Enemy modifiers", modName = "SelfCritChance", enemy = true },
568568
}, },
569-
{ label = "OH Crit Forks", bgCol = colorCodes.OFFHANDBG, flag = "weapon2Attack", { format = "{2:output:OffHand.CritForks}%",
569+
{ label = "OH Crit Forks", bgCol = colorCodes.OFFHANDBG, haveOutput = "OffHand.CritForks", flag = "weapon2Attack", { format = "{2:output:OffHand.CritForks}%",
570570
{ breakdown = "OffHand.CritForks" },
571571
{ label = "Player modifiers", modName = "ForkCrit", cfg = "weapon2" },
572572
}, },

0 commit comments

Comments
 (0)