Skip to content

Commit 8907f9a

Browse files
committed
debug graph - maxpoints is 2 x taps
1 parent 7e356d2 commit 8907f9a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎Themes/Til Death/BGAnimations/_calcdisplay.lua‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,9 +1124,10 @@ o[#o + 1] = LoadFont("Common Normal") .. {
11241124
else
11251125
if diffGroups[activeDiffGroup]["Jack"] and steps then
11261126
local jackpbm = 1.0013144
1127-
local maxpoints = steps:GetRelevantRadars()[1] * jackpbm
1127+
local tappoints = steps:GetRelevantRadars()[1] * 2
1128+
local maxpoints = tappoints * jackpbm
11281129
local afterloss = maxpoints - jackLossSumRight - jackLossSumLeft
1129-
local reqpoints = steps:GetRelevantRadars()[1] * 0.93
1130+
local reqpoints = tappoints * 0.93
11301131
self:settextf("Upper Bound: %.2f | Loss Sum L: %5.2f | Loss Sum R: %5.2f | Pt AfterLoss/Req/Max: %5.2f/%5.2f/%5.2f", lowerGraphMaxJack*0.9, jackLossSumLeft, jackLossSumRight, afterloss, reqpoints, maxpoints)
11311132
else
11321133
self:settextf("Upper Bound: %.4f", lowerGraphMax)

0 commit comments

Comments
 (0)