mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Added UI elements required for Brawl variant
This commit is contained in:
@@ -78,7 +78,8 @@ public class GameRules {
|
||||
}
|
||||
|
||||
public boolean hasCommander() {
|
||||
return appliedVariants.contains(GameType.Commander) || appliedVariants.contains(GameType.TinyLeaders);
|
||||
return appliedVariants.contains(GameType.Commander) || appliedVariants.contains(GameType.TinyLeaders)
|
||||
|| appliedVariants.contains(GameType.Brawl);
|
||||
}
|
||||
|
||||
public boolean canCloneUseTargetsImage() {
|
||||
|
||||
@@ -124,6 +124,10 @@ public class RegisteredPlayer {
|
||||
start.commanders = deck.getCommanders();
|
||||
start.setStartingLife(start.getStartingLife() + 5);
|
||||
}
|
||||
if (appliedVariants.contains(GameType.Brawl)) {
|
||||
start.commanders = deck.getCommanders();
|
||||
start.setStartingLife(start.getStartingLife() + 10);
|
||||
}
|
||||
if (appliedVariants.contains(GameType.Planechase)) {
|
||||
start.planes = planes;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user