@@ -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
0 commit comments