mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-13 05:20:00 -08:00
Support Jasper J as sixteenth Essence between Citrine C and Amber B
This commit is contained in:
parent
919259f042
commit
398b8d589f
1 changed files with 2 additions and 2 deletions
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue