Skip to content

Commit f5b9434

Browse files
LocalIdentityLocalIdentity
andauthored
Fix import of Normal and Magic Ward bases (#2383)
The bases were not being imported as they were using a frame type value of 11 and 12 which were not in the rarity map so PoB just wouldn't import them Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent ce8bffa commit f5b9434

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Classes/ImportTab.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ function ImportTabClass:ImportItemsAndSkills(charData)
11461146
return charData -- For the wrapper
11471147
end
11481148

1149-
local rarityMap = { [0] = "NORMAL", "MAGIC", "RARE", "UNIQUE", [9] = "RELIC", [10] = "RELIC", [13] = "RARE", [14] = "UNIQUE" }
1149+
local rarityMap = { [0] = "NORMAL", "MAGIC", "RARE", "UNIQUE", [9] = "RELIC", [10] = "RELIC", [11] = "NORMAL", [12] = "MAGIC", [13] = "RARE", [14] = "UNIQUE" }
11501150
local slotMap = { ["Weapon"] = "Weapon 1", ["Offhand"] = "Weapon 2", ["Weapon2"] = "Weapon 1 Swap", ["Offhand2"] = "Weapon 2 Swap", ["Helm"] = "Helmet", ["BodyArmour"] = "Body Armour", ["Gloves"] = "Gloves", ["Boots"] = "Boots", ["Amulet"] = "Amulet", ["Ring"] = "Ring 1", ["Ring2"] = "Ring 2", ["Ring3"] = "Ring 3", ["Belt"] = "Belt", ["IncursionArmLeft"] = "Arm 2", ["IncursionArmRight"] = "Arm 1", ["IncursionLegLeft"] = "Leg 2", ["IncursionLegRight"] = "Leg 1" }
11511151

11521152
function ImportTabClass:ImportItem(itemData, slotName)

0 commit comments

Comments
 (0)