mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 02:52:02 -08:00
updated Brawl banlist, color identity rules, and 1v1 starting life total (closes #4931)
This commit is contained in:
parent
fe32fc7cc3
commit
d6ff7f851d
2 changed files with 16 additions and 8 deletions
|
|
@ -74,13 +74,9 @@ public class Brawl extends Constructed {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
banned.add("Attune with Aether"); // since 2018-01-15
|
banned.add("Baral, Chief of Compliance");
|
||||||
banned.add("Aetherworks Marvel");
|
|
||||||
banned.add("Felidar Guardian");
|
|
||||||
banned.add("Rampaging Ferocidon"); // since 2018-01-15
|
|
||||||
banned.add("Ramunap Ruins"); // since 2018-01-15
|
|
||||||
banned.add("Rogue Refiner"); // since 2018-01-15
|
|
||||||
banned.add("Smuggler's Copter");
|
banned.add("Smuggler's Copter");
|
||||||
|
banned.add("Sorcerers' Spyglass");
|
||||||
}
|
}
|
||||||
|
|
||||||
private static boolean isFallBlock(ExpansionSet set) {
|
private static boolean isFallBlock(ExpansionSet set) {
|
||||||
|
|
@ -155,8 +151,20 @@ public class Brawl extends Constructed {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
List<String> basicsInDeck = new ArrayList<>();
|
||||||
|
if (colorIdentity.isColorless()) {
|
||||||
for (Card card : deck.getCards()) {
|
for (Card card : deck.getCards()) {
|
||||||
if (!cardHasValidColor(colorIdentity, card)) {
|
if (basicLandNames.contains(card.getName())) {
|
||||||
|
basicsInDeck.add(card.getName());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
for (Card card : deck.getCards()) {
|
||||||
|
if (!cardHasValidColor(colorIdentity, card)
|
||||||
|
&& !(colorIdentity.isColorless()
|
||||||
|
&& basicsInDeck.size() == 1
|
||||||
|
&& basicsInDeck.contains(card.getName()))) {
|
||||||
invalid.put(card.getName(), "Invalid color (" + colorIdentity.toString() + ')');
|
invalid.put(card.getName(), "Invalid color (" + colorIdentity.toString() + ')');
|
||||||
valid = false;
|
valid = false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ public class BrawlDuelMatch extends MatchImpl {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void startGame() throws GameException {
|
public void startGame() throws GameException {
|
||||||
int startLife = 30;
|
int startLife = 20;
|
||||||
boolean alsoHand = true;
|
boolean alsoHand = true;
|
||||||
BrawlDuel game = new BrawlDuel(options.getAttackOption(), options.getRange(), options.getFreeMulligans(), startLife);
|
BrawlDuel game = new BrawlDuel(options.getAttackOption(), options.getRange(), options.getFreeMulligans(), startLife);
|
||||||
game.setCheckCommanderDamage(false);
|
game.setCheckCommanderDamage(false);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue