File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1082,6 +1082,23 @@ function ImportTabClass:ImportItem(itemData, slotName)
10821082 for _ , property in pairs (itemData .properties ) do
10831083 if property .name == " Quality" then
10841084 item .quality = tonumber (property .values [1 ][1 ]:match (" %d+" ))
1085+ elseif property .name :match (" Quality %(" ) then
1086+ local catalystMap = {
1087+ [" Attack" ] = 1 ,
1088+ [" Speed" ] = 2 ,
1089+ [" Suffix" ] = 3 ,
1090+ [" Life and Mana" ] = 4 ,
1091+ [" Caster" ] = 5 ,
1092+ [" Attribute" ] = 6 ,
1093+ [" Physical and Chaos Damage" ] = 7 ,
1094+ [" Resistance" ] = 8 ,
1095+ [" Prefix" ] = 9 ,
1096+ [" Defense" ] = 10 ,
1097+ [" Elemental Damage" ] = 11 ,
1098+ [" Critical" ] = 12 ,
1099+ }
1100+ item .catalyst = catalystMap [property .name :match (" Quality %((.*) Modifiers%)" )]
1101+ item .catalystQuality = tonumber (property .values [1 ][1 ]:match (" %d+" ))
10851102 elseif property .name == " Radius" then
10861103 item .jewelRadiusLabel = property .values [1 ][1 ]
10871104 elseif property .name == " Limited to" then
You can’t perform that action at this time.
0 commit comments