Skip to content

Commit 9df386d

Browse files
authored
fix spelling batch1 (#489)
* fix spelling batch1 99% sure about most of these * Update ModCache.lua
1 parent 1da0bbf commit 9df386d

File tree

16 files changed

+56
-61
lines changed

16 files changed

+56
-61
lines changed

changelog.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ VERSION[0.3.0][20/01/2025]
22

33
--- New to Path of Building ---
44
* Add Emotion filtering to Anoint popup (Quxxy)
5-
You can select Emootion's you have and PoB will tell you the anoints available to you
5+
You can select Emotions you have and PoB will tell you the anoints available to you
66
* Add support for Sceptre 'Allies in your presence' mods (LocalIdentity)
77
* Add the ability to custom change max node depth for heat map (DoubtinGiyov)
88
* Add support for Buff Expiry Rate (igorwessel)

spec/System/TestItemParse_spec.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ describe("TestItemParse", function()
185185
assert.truthy(item.implicitModLines[1].implicit)
186186
end)
187187

188-
--TODO: POB2 multibase items
188+
--TODO: POB2 multi-base items
189189
--it("multiple bases", function()
190190
--end)
191191

src/Classes/PassiveTree.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ function PassiveTreeClass:ProcessNode(node)
532532

533533
self:ProcessStats(node)
534534

535-
-- if this node isSwtichable then parse also subnodes
535+
-- if this node isSwitchable then parse also subnodes
536536
if node.isSwitchable or node.isAttribute then
537537
for class, switchNode in pairs(node.options) do
538538
setmetatable(switchNode, { __index = node })

src/Classes/SkillsTab.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1294,7 +1294,7 @@ function SkillsTabClass:SetActiveSkillSet(skillSetId)
12941294
end
12951295

12961296
-- Loop over all socket groups and gem instances
1297-
-- to udpated global gem count assignments
1297+
-- to updated global gem count assignments
12981298
function SkillsTabClass:UpdateGlobalGemCountAssignments()
12991299
wipeTable(GlobalGemAssignments)
13001300
local countSocketGroups = 0

src/Classes/TradeQueryGenerator.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ function TradeQueryGeneratorClass:StartQuery(slot, options)
679679
itemCategoryQueryStr = "flask.mana"
680680
itemCategory = "Mana Flask"
681681
elseif slot.slotName:find("Charm") ~= nil then
682-
itemCategoryQueryStr = "flask" -- these don't have a unqiue string so overlapping mods of the same benefit could interfere.
682+
itemCategoryQueryStr = "flask" -- these don't have a unique string so overlapping mods of the same benefit could interfere.
683683
itemCategory = "Charm"
684684
else
685685
logToFile("'%s' is not supported for weighted trade query generation", existingItem and existingItem.type or "n/a")

src/Classes/TradeQueryRequests.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ function TradeQueryRequestsClass:FetchResultBlock(url, callback)
313313

314314
local rawLines = { }
315315
t_insert(rawLines, "Rarity: " .. item.rarity)
316-
-- item.name is empty when magic and full magic name is in typeLine but typeLine == bayeType when rare.
316+
-- item.name is empty when magic and full magic name is in typeLine but typeLine == baseType when rare.
317317
if item.name ~= "" then
318318
t_insert(rawLines, item.name)
319319
end
@@ -360,9 +360,9 @@ function TradeQueryRequestsClass:FetchResultBlock(url, callback)
360360
end
361361

362362
if item.requirements then
363-
for _, requiremnt in ipairs(item.requirements) do
364-
if requiremnt.name == "Level" then
365-
t_insert(rawLines, "LevelReq: " .. requiremnt.values[1][1])
363+
for _, requirement in ipairs(item.requirements) do
364+
if requirement.name == "Level" then
365+
t_insert(rawLines, "LevelReq: " .. requirement.values[1][1])
366366
end
367367
end
368368
end
@@ -374,7 +374,7 @@ function TradeQueryRequestsClass:FetchResultBlock(url, callback)
374374
t_insert(rawLines, "Limited to: " .. limit)
375375
end
376376

377-
-- ensure these fields are initalised
377+
-- ensure these fields are initialised
378378
item.enchantMods = item.enchantMods or { }
379379
item.runeMods = item.runeMods or { }
380380
item.implicitMods = item.implicitMods or { }

src/Data/ModCache.lua

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2115,6 +2115,7 @@ c["Adds 5 to 10 Physical Damage to Attacks"]={{[1]={flags=0,keywordFlags=65536,n
21152115
c["Adds 5 to 11 Physical Damage"]={{[1]={flags=0,keywordFlags=0,name="PhysicalMin",type="BASE",value=5},[2]={flags=0,keywordFlags=0,name="PhysicalMax",type="BASE",value=11}},nil}
21162116
c["Adds 5 to 8 Cold damage to Attacks"]={{[1]={flags=0,keywordFlags=65536,name="ColdMin",type="BASE",value=5},[2]={flags=0,keywordFlags=65536,name="ColdMax",type="BASE",value=8}},nil}
21172117
c["Adds 5 to 8 Physical Damage to Attacks"]={{[1]={flags=0,keywordFlags=65536,name="PhysicalMin",type="BASE",value=5},[2]={flags=0,keywordFlags=65536,name="PhysicalMax",type="BASE",value=8}},nil}
2118+
c["Adds 5 to 9 Chaos Damage to Attacks"]={{[1]={flags=0,keywordFlags=65536,name="ChaosMin",type="BASE",value=5},[2]={flags=0,keywordFlags=65536,name="ChaosMax",type="BASE",value=9}},nil}
21182119
c["Adds 5 to 9 Fire Damage"]={{[1]={flags=0,keywordFlags=0,name="FireMin",type="BASE",value=5},[2]={flags=0,keywordFlags=0,name="FireMax",type="BASE",value=9}},nil}
21192120
c["Adds 5 to 9 Fire damage to Attacks"]={{[1]={flags=0,keywordFlags=65536,name="FireMin",type="BASE",value=5},[2]={flags=0,keywordFlags=65536,name="FireMax",type="BASE",value=9}},nil}
21202121
c["Adds 5 to 9 Physical Damage"]={{[1]={flags=0,keywordFlags=0,name="PhysicalMin",type="BASE",value=5},[2]={flags=0,keywordFlags=0,name="PhysicalMax",type="BASE",value=9}},nil}
@@ -2617,10 +2618,6 @@ c["Ignites you inflict spread to other Enemies that stay within 1.5 metres for 2
26172618
c["Ignore Warcry Cooldowns"]={nil,"Ignore Warcry Cooldowns "}
26182619
c["Immobilise enemies at 50% buildup instead of 100%"]={nil,"Immobilise enemies at 50% buildup instead of 100% "}
26192620
c["Immobilise enemies at 50% buildup instead of 100% Enemies Immobilised by you take 25% less Damage"]={nil,"Immobilise enemies at 50% buildup instead of 100% Enemies Immobilised by you take 25% less Damage "}
2620-
c["Implicits: 1"]={nil,"Implicits: 1 "}
2621-
c["Implicits: 1 +13% to Chaos Resistance"]={nil,"Implicits: 1 +13% to Chaos Resistance "}
2622-
c["Implicits: 1 +30% to Lightning Resistance"]={nil,"Implicits: 1 +30% to Lightning Resistance "}
2623-
c["Implicits: 1 Adds 1 to 4 Physical Damage to Attacks"]={{[1]={flags=0,keywordFlags=65536,name="PhysicalMin",type="BASE",value=1},[2]={flags=0,keywordFlags=65536,name="PhysicalMax",type="BASE",value=4}},"Implicits: 1 "}
26242621
c["Increases and Reductions to Armour also apply to Energy Shield"]={nil,"Increases and Reductions to Armour also apply to Energy Shield "}
26252622
c["Increases and Reductions to Armour also apply to Energy Shield Recharge Rate at 40% of their value"]={{[1]={flags=0,keywordFlags=0,name="ArmourAppliesToEnergyShieldRecharge",type="FLAG",value=true},[2]={flags=0,keywordFlags=0,name="ImprovedArmourAppliesToEnergyShieldRecharge",type="MAX",value=40}},nil}
26262623
c["Increases and Reductions to Minion Attack Speed also affect you"]={{[1]={flags=0,keywordFlags=0,name="MinionAttackSpeedAppliesToPlayer",type="FLAG",value=true},[2]={flags=0,keywordFlags=0,name="ImprovedMinionAttackSpeedAppliesToPlayer",type="MAX",value=100}},nil}
@@ -3006,8 +3003,6 @@ c["Unlimited number of Summoned Totems Totems reserve 100 Spirit each"]={nil,"Un
30063003
c["Unwavering Stance"]={{[1]={flags=0,keywordFlags=0,name="Keystone",type="LIST",value="Unwavering Stance"}},nil}
30073004
c["Unwithered enemies are Withered for 8 seconds when they enter your Presence"]={nil,"Unwithered enemies are Withered for 8 seconds when they enter your Presence "}
30083005
c["Unwithered enemies are Withered for 8 seconds when they enter your Presence 20% increased Effect of Withered"]={nil,"Unwithered enemies are Withered for 8 seconds when they enter your Presence 20% increased Effect of Withered "}
3009-
c["Vartiant: Current"]={nil,"Vartiant: Current "}
3010-
c["Vartiant: Current Implicits: 1"]={nil,"Vartiant: Current Implicits: 1 "}
30113006
c["Warcries Empower an additional Attack"]={nil,"Warcries Empower an additional Attack "}
30123007
c["Warcry Skills have 25% increased Area of Effect"]={{[1]={[1]={skillType=73,type="SkillType"},flags=0,keywordFlags=0,name="AreaOfEffect",type="INC",value=25}},nil}
30133008
c["Warcry Skills have 30% increased Area of Effect"]={{[1]={[1]={skillType=73,type="SkillType"},flags=0,keywordFlags=0,name="AreaOfEffect",type="INC",value=30}},nil}

src/Data/Uniques/ring.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Implicits: 1
2323
Blackheart
2424
Iron Ring
2525
Variant: Pre 0.1.1
26-
Vartiant: Current
26+
Variant: Current
2727
Implicits: 1
2828
{tags:physical,attack}Adds 1 to 4 Physical Damage to Attacks
2929
{tags:life}(3-6) Life Regeneration per second
@@ -43,7 +43,7 @@ You take Fire Damage instead of Physical Damage from Bleeding
4343
The Burrower
4444
Topaz Ring
4545
Variant: Pre 0.1.1
46-
Vartiant: Current
46+
Variant: Current
4747
Implicits: 1
4848
{tags:lightning}+(20-30)% to Lightning Resistance
4949
{variant:1}{tags:cold}-(15-10)% to Cold Resistance
@@ -139,7 +139,7 @@ Gain (30-40)% of Damage as Extra Chaos Damage
139139
Original Sin
140140
Amethyst Ring
141141
Variant: Pre 0.1.1
142-
Vartiant: Current
142+
Variant: Current
143143
Implicits: 1
144144
{tags:chaos}+(7-13)% to Chaos Resistance
145145
{variant:2}{tags:chaos}+(17-23)% to Chaos Resistance

src/Export/Main.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ function main:LoadSettings()
550550
if self.datSources and not next(self.datSources) and self.datSource then
551551
t_insert(self.datSources, self.datSource)
552552
end
553-
if not self.datSoruce and self.datSources then
553+
if not self.datSource and self.datSources then
554554
self.datSource = self.datSources[1]
555555
end
556556
end

src/Export/Scripts/mods.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ local function writeMods(outName, condFunc)
5858
out:write('"', tag.Id, '", ')
5959
count = count + 1
6060
end
61-
-- no spawntags exist for flask/charm mods
61+
-- no spawn tags exist for flask/charm mods
6262
if count == 0 then
6363
-- flasks/charms
6464
if mod.Domain == 2 then
@@ -232,7 +232,7 @@ end)
232232
writeMods("../Data/ModJewel.lua", function(mod)
233233
return (mod.Domain == 11 and (mod.GenerationType == 1 or mod.GenerationType == 2)) or (mod.Domain == 21 and mod.GenerationType == 3)
234234
end)
235-
writeMods("../Data/ModItemExlusive.lua", function(mod) -- contains primarly uniques and items implicits but also other mods only avaliable on a single base or unique.
235+
writeMods("../Data/ModItemExlusive.lua", function(mod) -- contains primarily uniques and items implicits but also other mods only available on a single base or unique.
236236
return (mod.Domain == 1 or mod.Domain == 2 or mod.Domain == 11 or mod.Domain == 22) and mod.GenerationType == 3
237237
and (mod.Family[1] and mod.Family[1].Id ~= "AuraBonus" or not mod.Family[1])
238238
and not mod.Id:match("^Synthesis") and not mod.Id:match("Royale") and not mod.Id:match("Cowards") and not mod.Id:match("Map") and not mod.Id:match("Ultimatum") and not mod.Id:match("SpecialCorruption")

0 commit comments

Comments
 (0)