diff --git a/src/Classes/ImportTab.lua b/src/Classes/ImportTab.lua index 92bbb20cd..572d9f04e 100644 --- a/src/Classes/ImportTab.lua +++ b/src/Classes/ImportTab.lua @@ -1033,6 +1033,7 @@ function ImportTabClass:ImportItem(itemData, slotName) end item.mirrored = itemData.mirrored item.corrupted = itemData.corrupted + item.doubleCorrupted = itemData.doubleCorrupted item.fractured = itemData.fractured item.desecrated = itemData.desecrated item.mutated = itemData.mutated diff --git a/src/Classes/Item.lua b/src/Classes/Item.lua index b30967c2c..c4c866b4d 100644 --- a/src/Classes/Item.lua +++ b/src/Classes/Item.lua @@ -384,6 +384,9 @@ function ItemClass:ParseRaw(raw, rarity, highQuality) self.mirrored = true elseif line == "Corrupted" then self.corrupted = true + elseif line == "Twice Corrupted" then + self.corrupted = true + self.doubleCorrupted = true elseif line == "Desecrated Prefix" or line == "Desecrated Suffix" then self.desecrated = true elseif line == "Requirements:" then @@ -1294,7 +1297,9 @@ function ItemClass:BuildRaw() if self.mirrored then t_insert(rawLines, "Mirrored") end - if self.corrupted then + if self.doubleCorrupted then + t_insert(rawLines, "Twice Corrupted") + elseif self.corrupted then t_insert(rawLines, "Corrupted") end return table.concat(rawLines, "\n") diff --git a/src/Classes/ItemsTab.lua b/src/Classes/ItemsTab.lua index 22827e5b6..fb903deb6 100644 --- a/src/Classes/ItemsTab.lua +++ b/src/Classes/ItemsTab.lua @@ -3048,14 +3048,16 @@ function ItemsTabClass:AddItemTooltip(tooltip, item, slot, dbMode) end -- Corrupted item label - if item.corrupted or item.mirrored then + if item.corrupted or item.mirrored or item.doubleCorrupted then if #item.explicitModLines == 0 then tooltip:AddSeparator(10) end if item.mirrored then tooltip:AddLine(fontSizeBig, colorCodes.NEGATIVE.."Mirrored", "FONTIN SC") end - if item.corrupted then + if item.doubleCorrupted then + tooltip:AddLine(fontSizeBig, colorCodes.NEGATIVE.."Twice Corrupted", "FONTIN SC") + elseif item.corrupted then tooltip:AddLine(fontSizeBig, colorCodes.NEGATIVE.."Corrupted", "FONTIN SC") end tooltip:AddSeparator(10)