From 398b8d589f22c21d419ff254c9554cca6e5072e7 Mon Sep 17 00:00:00 2001 From: Christian Daniel Jensen Date: Tue, 3 Nov 2026 15:08:24 -0700 Subject: [PATCH] Support Jasper J as sixteenth Essence between Citrine C and Amber B --- libcockatrice_card/libcockatrice/card/essence_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcockatrice_card/libcockatrice/card/essence_types.h b/libcockatrice_card/libcockatrice/card/essence_types.h index 9d0a0fcf9..4f8ee96cf 100644 --- a/libcockatrice_card/libcockatrice/card/essence_types.h +++ b/libcockatrice_card/libcockatrice/card/essence_types.h @@ -13,7 +13,7 @@ namespace Essence // The other codes have no names, colors or game mechanics assigned here. inline const QString &symbols() { - static const QString value = QStringLiteral("MSOGEAQCBRLVTPN"); + static const QString value = QStringLiteral("MSOGEAQCJBRLVTPN"); return value; } @@ -41,7 +41,7 @@ inline QString normalizeIdentity(const QString &input) // Hybrid/phrexian/other MTG-specific syntax is NOT defined as Essence. inline QStringList parseCost(const QString &cost) { - static const QRegularExpression regex(QStringLiteral(R"(\{([^}]+)\}|(\d+)|([MSOGEAQCBRLVTPN]))")); + static const QRegularExpression regex(QStringLiteral(R"(\{([^}]+)\}|(\d+)|([MSOGEAQCJBRLVTPN]))")); QStringList result; auto matches = regex.globalMatch(cost); while (matches.hasNext()) {