forked from External/mage
Cards compatibility with oathbreaker format;
This commit is contained in:
parent
e1259d0dd6
commit
913ee65f36
22 changed files with 99 additions and 46 deletions
|
|
@ -59,7 +59,7 @@ public abstract class GameCommanderImpl extends GameImpl {
|
|||
}
|
||||
|
||||
// init commanders
|
||||
for (UUID commanderId : player.getCommandersIds()) {
|
||||
for (UUID commanderId : this.getCommandersIds(player)) {
|
||||
Card commander = this.getCard(commanderId);
|
||||
if (commander != null) {
|
||||
initCommander(commander, player);
|
||||
|
|
@ -183,7 +183,7 @@ public abstract class GameCommanderImpl extends GameImpl {
|
|||
@Override
|
||||
protected boolean checkStateBasedActions() {
|
||||
for (Player player : getPlayers().values()) {
|
||||
for (UUID commanderId : player.getCommandersIds()) {
|
||||
for (UUID commanderId : this.getCommandersIds(player)) {
|
||||
CommanderInfoWatcher damageWatcher = getState().getWatcher(CommanderInfoWatcher.class, commanderId);
|
||||
if (damageWatcher == null) {
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue