Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions spec/System/TestImport_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ describe("TestImport", function()
typeLine = "Rawhide Gloves",
inventoryId = "Gloves",
ilvl = 10,
duplicated = true,
vestigial = true,
properties = { },
implicitMods = {
Expand All @@ -139,6 +140,7 @@ describe("TestImport", function()
assert.is_true(explicitMods["+10 to maximum Life"].crafted)
assert.is_true(explicitMods["+11 to maximum Mana"].fractured)
assert.is_true(explicitMods["+12 to Strength"].mutated)
assert.is_true(item.mirrored)
assert.is_true(item.vestigial)
assert.is_true(explicitMods["+13 to Dexterity"].vestigial)
assert.is_truthy(item:BuildRaw():find("{vestigial}", 1, true))
Expand Down
2 changes: 1 addition & 1 deletion src/Classes/ImportTab.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1637,7 +1637,7 @@ function ImportTabClass:ImportItem(itemData, slotName, ignoreWeaponSwap, itemSet
end
end
item.split = itemData.split
item.mirrored = itemData.mirrored
item.mirrored = itemData.duplicated or itemData.mirrored
item.corrupted = itemData.corrupted
item.fractured = itemData.fractured
item.synthesised = itemData.synthesised
Expand Down
Loading