Trade Fix PoB 2 #944

This commit is contained in:
LocalIdentity
2025-04-10 03:26:09 +10:00
parent 6a146e6c36
commit ec17d59ed8

View File

@@ -188,6 +188,9 @@ function TradeQueryGeneratorClass.WeightedRatioOutputs(baseOutput, newOutput, st
end
end
for _, statTable in ipairs(statWeights) do
if statTable.stat == "FullDPS" and not (baseOutput["FullDPS"] and newOutput["FullDPS"]) then
meanStatDiff = meanStatDiff + ratioModSums("TotalDPS", "TotalDotDPS", "CombinedDPS") * statTable.weightMult
end
meanStatDiff = meanStatDiff + ratioModSums(statTable.stat) * statTable.weightMult
end
return meanStatDiff