Temporary Invasion Plans workaround for AI
@@ -95,9 +95,12 @@ class InvasionPlansEffect extends ContinuousRuleModifyingEffectImpl {
public boolean applies(GameEvent event, Ability source, Game game) {
Player blockController = game.getPlayer(game.getCombat().getAttackingPlayerId());
if (blockController != null) {
+ // temporary workaround for AI bugging out while choosing blockers
+ if (blockController.isHuman()) {
game.getCombat().selectBlockers(blockController, game);
return event.getPlayerId().equals(game.getCombat().getAttackingPlayerId());
}
+ }
return false;
}
}
