mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Vazal the Compleat
This commit is contained in:
@@ -375,9 +375,10 @@ public enum DeckFormat {
|
||||
|
||||
public static Integer canHaveSpecificNumberInDeck(final IPaperCard card) {
|
||||
// Ideally, this would be parsed during card parsing and set this value
|
||||
if (Iterables.contains(card.getRules().getMainPart().getKeywords(),
|
||||
"A deck can have up to seven cards named CARDNAME.")) {
|
||||
if (card.getRules().hasKeyword("A deck can have up to seven cards named CARDNAME.")) {
|
||||
return 7;
|
||||
} else if (card.getRules().hasKeyword("Megalegendary")) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user