mirror of
https://github.com/magefree/mage.git
synced 2026-01-20 10:20:00 -08:00
* Odric Master Tactician - Fixed that the game didn't leave the block phase controlled by the controller of Odric.
This commit is contained in:
parent
1a81c42441
commit
0d37d1593b
14 changed files with 39 additions and 25 deletions
|
|
@ -152,8 +152,13 @@ class OdricMasterTacticianEffect extends ReplacementEffectImpl<OdricMasterTactic
|
|||
if (game.isPaused() || game.isGameOver()) {
|
||||
return true;
|
||||
}
|
||||
choose = game.getCombat().checkBlockRestrictions(game.getPlayer(defenderId), game);
|
||||
choose |= !game.getCombat().checkBlockRequirementsAfter(game.getPlayer(defenderId), player, game);
|
||||
if (!game.getCombat().checkBlockRestrictions(game.getPlayer(defenderId), game)) {
|
||||
// only human player can decide to do the block in another way
|
||||
if (player.isHuman()) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
choose = !game.getCombat().checkBlockRequirementsAfter(game.getPlayer(defenderId), player, game);
|
||||
}
|
||||
game.fireEvent(GameEvent.getEvent(GameEvent.EventType.DECLARED_BLOCKERS, defenderId, defenderId));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue