Skip to content

Commit 8b34ad8

Browse files
author
justjuangui
committed
Fix spelling
1 parent 6329e6e commit 8b34ad8

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/Classes/PassiveSpec.lua

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -191,26 +191,26 @@ function PassiveSpecClass:Load(xml, dbFileName)
191191
if child.elem == "AttributeOverride" then
192192
for strengthId in child.attrib.strNodes:gmatch("%d+") do
193193
local strengthNumberId = tonumber(strengthId)
194-
local atributeIndex = self:GetAttributeIndexForNodeId(strengthNumberId, "Strength")
195-
self:SwitchAttributeNode(strengthNumberId, atributeIndex)
194+
local attributeIndex = self:GetAttributeIndexForNodeId(strengthNumberId, "Strength")
195+
self:SwitchAttributeNode(strengthNumberId, attributeIndex )
196196
end
197197
for dexterityId in child.attrib.dexNodes:gmatch("%d+") do
198198
local dexterityNumberId = tonumber(dexterityId)
199-
local atributeIndex = self:GetAttributeIndexForNodeId(dexterityNumberId, "Dexterity")
200-
self:SwitchAttributeNode(dexterityNumberId, atributeIndex)
199+
local attributeIndex = self:GetAttributeIndexForNodeId(dexterityNumberId, "Dexterity")
200+
self:SwitchAttributeNode(dexterityNumberId, attributeIndex )
201201
end
202202
for intelligenceId in child.attrib.intNodes:gmatch("%d+") do
203203
local intelligenceNumberId = tonumber(intelligenceId)
204-
local atributeIndex = self:GetAttributeIndexForNodeId(intelligenceNumberId, "Intelligence")
205-
self:SwitchAttributeNode(intelligenceNumberId, atributeIndex)
204+
local attributeIndex = self:GetAttributeIndexForNodeId(intelligenceNumberId, "Intelligence")
205+
self:SwitchAttributeNode(intelligenceNumberId, attributeIndex )
206206
end
207207
-- check if have child elems for other attribute types
208208
for _, other in ipairs(child) do
209209
if other.elem == "other" then
210210
local otherId = tonumber(other.attrib.id)
211211
local dn = other.attrib.dn
212-
local atributeIndex = self:GetAttributeIndexForNodeId(otherId, dn)
213-
self:SwitchAttributeNode(otherId, atributeIndex)
212+
local attributeIndex = self:GetAttributeIndexForNodeId(otherId, dn)
213+
self:SwitchAttributeNode(otherId, attributeIndex )
214214
end
215215
end
216216

src/Export/Scripts/passivetree.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ local base_attributes = {
786786
{id=57022}, --int
787787
{id=46793, unlockedBy = {46454}}, -- Damage
788788
{id=44242, unlockedBy = {46454}}, -- Defences
789-
{id=5375, unlockedBy = {46454}}, -- Coost efficiency
789+
{id=5375, unlockedBy = {46454}}, -- Cost efficiency
790790
}
791791

792792
for _, attrInfo in ipairs(base_attributes) do

0 commit comments

Comments
 (0)