Fix Glyph Popup Rarity color

Co-Authored-By: HexaVault <44529573+hexavault@users.noreply.github.com>
Co-Authored-By: Donaldino7712 <100215778+donaldino7712@users.noreply.github.com>
This commit is contained in:
Hirame1 2024-04-22 18:20:07 +07:00
parent 42cc875989
commit 20d1270c77

View File

@ -128,7 +128,7 @@ export default {
if (!GlyphTypes[this.type].hasRarity) return "";
const strength = Pelle.isDoomed ? Pelle.glyphStrength : this.strength;
return `| Rarity:
<span style="color: ${this.rarityInfo.color}">${formatRarity(strengthToRarity(strength))}</span>`;
<span style="color: ${this.descriptionStyle.color}">${formatRarity(strengthToRarity(strength))}</span>`;
},
levelText() {
if (this.type === "companion") return "";