Skip to content

Commit d7b50cd

Browse files
committed
Fix relic colors on import
1 parent 7869672 commit d7b50cd

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

src/Classes/ImportTab.lua

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,6 +1065,23 @@ function ImportTabClass:ImportItem(itemData, slotName)
10651065
end
10661066
end
10671067
end
1068+
if itemData.foilVariation or itemData.isRelic then
1069+
local foilVariants = {
1070+
"Amethyst",
1071+
"Verdant",
1072+
"Ruby",
1073+
"Cobalt",
1074+
"Sunset",
1075+
"Aureate",
1076+
"Celestial Quartz",
1077+
"Celestial Ruby",
1078+
"Celestial Emerald",
1079+
"Celestial Aureate",
1080+
"Celestial Pearl",
1081+
"Celestial Amethyst",
1082+
}
1083+
item.foilType = foilVariants[itemData.foilVariation] or "Rainbow"
1084+
end
10681085

10691086
-- Add and equip the new item
10701087
item:BuildAndParseRaw()

0 commit comments

Comments
 (0)