@@ -1550,23 +1550,20 @@ local function copyAnointsAndEldritchImplicits(self, newItem)
15501550 newItem .enchantModLines = currentAnoint
15511551 end
15521552 end
1553- -- if the new item is a Normal, Magic, or Rare Helmet, Body Armour, Gloves, or Boots and does not have any influence
1554- -- and your current respective item has Eater and/or Exarch, apply those implicits and influence to the new item
1555- local implicitBaseTypes = { " Helmet" , " Body Armour" , " Gloves" , " Boots" }
1556- local implicitRarities = { " NORMAL" , " MAGIC" , " RARE" }
1553+ -- if the new item is a non-corrupted Normal, Magic, or Rare Helmet, Body Armour, Gloves, or Boots and does not have any influence
1554+ -- and your current respective item is Eater and/or Exarch, apply those implicits and influence to the new item
1555+ local eldritchBaseTypes = { " Helmet" , " Body Armour" , " Gloves" , " Boots" }
1556+ local eldritchRarities = { " NORMAL" , " MAGIC" , " RARE" }
15571557 for _ , influence in ipairs (itemLib .influenceInfo .default ) do
15581558 if newItem [influence .key ] then
15591559 return
15601560 end
15611561 end
1562- if main .migrateEldritchImplicits and isValueInTable (implicitBaseTypes , newItem .base .type ) and isValueInTable (implicitRarities , newItem .rarity )
1563- and # newItem .implicitModLines == 0 and (currentItem .cleansing or currentItem .tangle ) then
1564- local currentImplicits = currentItem .implicitModLines
1565- if currentImplicits then
1566- newItem .implicitModLines = currentImplicits
1567- newItem .tangle = currentItem .tangle
1568- newItem .cleansing = currentItem .cleansing
1569- end
1562+ if main .migrateEldritchImplicits and isValueInTable (eldritchBaseTypes , newItem .base .type ) and isValueInTable (eldritchRarities , newItem .rarity )
1563+ and # newItem .implicitModLines == 0 and not newItem .corrupted and (currentItem .cleansing or currentItem .tangle ) and currentItem .implicitModLines then
1564+ newItem .implicitModLines = currentItem .implicitModLines
1565+ newItem .tangle = currentItem .tangle
1566+ newItem .cleansing = currentItem .cleansing
15701567 end
15711568 newItem :BuildAndParseRaw ()
15721569 end
0 commit comments