Change tooltip text for glyph purge

This commit is contained in:
Hirame1 2024-05-12 15:25:47 +07:00 committed by cyip92
parent ecef2f9baf
commit 2a03fa052b
2 changed files with 3 additions and 3 deletions

View File

@ -19,11 +19,11 @@ export default {
},
autoCleanTooltip() {
return `${this.removeString} Glyphs that are worse in every way than
enough other Glyphs${this.hasPerkShop ? " (ignores Music Glyphs)" : ""}`;
enough other Glyphs${this.hasPerkShop ? " (ignores customized Glyphs)" : ""}`;
},
harshAutoCleanTooltip() {
return `${this.removeString} Glyphs that are worse in every way than
ANY other Glyph${this.hasPerkShop ? " (includes Music Glyphs)" : ""}`;
ANY other Glyph${this.hasPerkShop ? " (includes customized Glyphs)" : ""}`;
},
deleteRejectedTooltip() {
const negativeWarning = AutoGlyphProcessor.hasNegativeEffectScore()

View File

@ -572,7 +572,7 @@ export const Glyphs = {
const glyph = (inventoryCopy ?? this.inventory)[inventoryIndex];
// Never clean companion, and only clean cursed if we choose to sacrifice all
if (glyph === null || glyph.type === "companion" || (glyph.type === "cursed" && threshold !== 0)) continue;
// Don't auto-clean custom glyphs (eg. music glyphs) unless it's harsh or delete all
// Don't auto-clean individually customized glyphs unless it's harsh or delete all
const isCustomGlyph = glyph.color !== undefined || glyph.symbol !== undefined;
if (isCustomGlyph && !isHarsh) continue;
// If the threshold for better glyphs needed is zero, the glyph is definitely getting deleted