Skip to content

Commit 3a76dd3

Browse files
committed
Fix camelcase
1 parent 81ac2ee commit 3a76dd3

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/Classes/TradeQueryGenerator.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -545,16 +545,16 @@ function TradeQueryGeneratorClass:GenerateModWeights(modsToTest)
545545
local modLine, _, transformedStats = data.describeStats(halfWayStats, "stat_descriptions.lua")
546546

547547
-- value of the stat the trade site uses
548-
local tradeStatvalue
548+
local tradeStatValue
549549
-- # to # mod
550550
local maxStat = entry.canonicalStat:gsub("minimum", "maximum")
551551
if entry.canonicalStat:match("minimum") and transformedStats[maxStat] then
552-
tradeStatvalue = (transformedStats[maxStat].min + transformedStats[entry.canonicalStat].min) / 2
552+
tradeStatValue = (transformedStats[maxStat].min + transformedStats[entry.canonicalStat].min) / 2
553553
else
554-
tradeStatvalue = transformedStats[entry.canonicalStat].min
554+
tradeStatValue = transformedStats[entry.canonicalStat].min
555555
end
556556

557-
if not (modLine[1] and tradeStatvalue) then
557+
if not (modLine[1] and tradeStatValue) then
558558
logToFile("Failed to describe mod: %s for category %", tradeId, self.calcContext.itemCategory)
559559
goto continue
560560
end
@@ -577,7 +577,7 @@ function TradeQueryGeneratorClass:GenerateModWeights(modsToTest)
577577
t_insert(self.modWeights,
578578
{
579579
tradeModId = tradeId,
580-
weight = meanStatDiff / tradeStatvalue,
580+
weight = meanStatDiff / tradeStatValue,
581581
meanStatDiff = meanStatDiff,
582582
line =
583583
modLine[1]

0 commit comments

Comments
 (0)