mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-09 11:33:25 -08:00
Honor finite deck copy limits across printings and deck zones [skip ci] (#7719)
This commit is contained in:
parent
18388d9994
commit
16455c9fd5
9 changed files with 440 additions and 48 deletions
|
|
@ -2,6 +2,10 @@
|
|||
#define PARSEHELPERS_H
|
||||
|
||||
#include <QString>
|
||||
#include <optional>
|
||||
|
||||
/** @brief Read a finite deck-copy allowance naming this card in canonical English rules text. */
|
||||
std::optional<int> parseDeckCopyLimit(const QString &name, const QString &text);
|
||||
|
||||
bool parseCipt(const QString &name, const QString &text);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue