From 7a72b8c66d71257a6ee7f2fa08e691314a6e2318 Mon Sep 17 00:00:00 2001 From: Nightblade Date: Sat, 27 Jun 2026 16:44:06 +1000 Subject: [PATCH] chore: fix "english linting errors" --- src/Classes/CompareTab.lua | 8 ++++---- src/Classes/PartyTab.lua | 2 +- src/Modules/CalcPerform.lua | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Classes/CompareTab.lua b/src/Classes/CompareTab.lua index 24506313c6..0b242be3a1 100644 --- a/src/Classes/CompareTab.lua +++ b/src/Classes/CompareTab.lua @@ -2660,7 +2660,7 @@ function CompareTabClass:ComparePowerBuilder(compareEntry, powerStat, categories -- if our comparison has abyssal jewels, but the primary build -- doesn't, add those temporarily to the build to work around - -- calcfunc not being able to take in multiple items + -- calcFunc not being able to take in multiple items local cmpJewels = {} local oldEquipped = {} if newItem.abyssalSocketCount > 0 then @@ -3423,12 +3423,12 @@ function CompareTabClass:DrawItemExpanded(item, x, startY, colWidth, otherModMap local fontSize = 14 local drawY = startY local maxLineW = 0 - local function emit(lx, ly, align, fs, fstyle, str) + local function emit(lx, ly, align, fs, fStyle, str) if measureMode then - local w = DrawStringWidth(fs, fstyle, str) + local w = DrawStringWidth(fs, fStyle, str) if w > maxLineW then maxLineW = w end else - DrawString(lx, ly, align, fs, fstyle, str) + DrawString(lx, ly, align, fs, fStyle, str) end end diff --git a/src/Classes/PartyTab.lua b/src/Classes/PartyTab.lua index 61b0140368..57dee74fac 100644 --- a/src/Classes/PartyTab.lua +++ b/src/Classes/PartyTab.lua @@ -371,7 +371,7 @@ local PartyTabClass = newClass("PartyTab", "ControlHost", "Control", function(se self:ParseBuffs(self.enemyModList, self.controls.enemyMods.buf, "EnemyMods", self.controls.simpleEnemyMods) self.build.buildFlag = true end) - self.controls.rebuild.tooltipText = "^7Reparse all the inputs incase they have been disabled or they have changed since loading the build or importing" + self.controls.rebuild.tooltipText = "^7Reparse all the inputs in case they have been disabled or they have changed since loading the build or importing" self.controls.rebuild.x = function() return (self.width > theme.widthThreshold1) and 8 or (-328) end diff --git a/src/Modules/CalcPerform.lua b/src/Modules/CalcPerform.lua index 03ab616ab8..6bfa462f1a 100644 --- a/src/Modules/CalcPerform.lua +++ b/src/Modules/CalcPerform.lua @@ -3237,7 +3237,7 @@ function calcs.perform(env, skipEHP) enemyDB:ReplaceMod("Multiplier:ImpaleStacks", "BASE", maxImpaleStacks, "Config", { type = "Condition", var = "Combat" }) end - -- Foulborn Choir of the Storm, needs to be after main auras (incase purity of lightning/elements auras) but before extra auras (Radiant Faith) + -- Foulborn Choir of the Storm, needs to be after main auras (in case purity of lightning/elements auras) but before extra auras (Radiant Faith) if modDB:Flag(nil, "ManaIncreasedByOvercappedLightningRes") then -- Calculate resistances for ManaIncreasedByOvercappedLightningRes without mutating conversion mods on the player ModDB. local tempResistActor = {