Skip to content

Commit ec17d59

Browse files
author
LocalIdentity
committed
Trade Fix PoB 2 #944
1 parent 6a146e6 commit ec17d59

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Classes/TradeQueryGenerator.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,9 @@ function TradeQueryGeneratorClass.WeightedRatioOutputs(baseOutput, newOutput, st
188188
end
189189
end
190190
for _, statTable in ipairs(statWeights) do
191+
if statTable.stat == "FullDPS" and not (baseOutput["FullDPS"] and newOutput["FullDPS"]) then
192+
meanStatDiff = meanStatDiff + ratioModSums("TotalDPS", "TotalDotDPS", "CombinedDPS") * statTable.weightMult
193+
end
191194
meanStatDiff = meanStatDiff + ratioModSums(statTable.stat) * statTable.weightMult
192195
end
193196
return meanStatDiff

0 commit comments

Comments
 (0)