Prevent backgrounds from being used as commanders no matter what (#10007)

This commit is contained in:
Alexander Novotny 2023-02-19 18:01:16 -08:00 committed by GitHub
parent f66644994f
commit 32002101ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 1 deletions

View file

@ -83,7 +83,7 @@ public abstract class AbstractCommander extends Constructed {
return false;
}
if (commander1.getAbilities().containsClass(ChooseABackgroundAbility.class) == commander2.hasSubTypeForDeckbuilding(SubType.BACKGROUND)
|| commander2.getAbilities().containsClass(ChooseABackgroundAbility.class) == commander1.hasSubTypeForDeckbuilding(SubType.BACKGROUND)) {
&& commander2.getAbilities().containsClass(ChooseABackgroundAbility.class) == commander1.hasSubTypeForDeckbuilding(SubType.BACKGROUND)) {
return true;
}
if (commander1.hasSubTypeForDeckbuilding(SubType.BACKGROUND)) {