mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
Tests: fixed random gen deck
This commit is contained in:
parent
78ff3c3714
commit
9268281c4b
2 changed files with 20 additions and 2 deletions
|
|
@ -168,6 +168,7 @@ public class Sets extends HashMap<String, ExpansionSet> {
|
|||
if (manaLand.getBlack() > 0 && !manaNeed.isBlack()) { cardManaOK = false; }
|
||||
if (manaLand.getRed() > 0 && !manaNeed.isRed()) { cardManaOK = false; }
|
||||
if (manaLand.getGreen() > 0 && !manaNeed.isGreen()) { cardManaOK = false; }
|
||||
if (manaLand.getColorless() > 0) { cardManaOK = false; } // ignore colorless land (wastes)
|
||||
}
|
||||
} else {
|
||||
// cards
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue