mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Bug fixes
This commit is contained in:
parent
af4cc4fc5d
commit
8f5c4a2c80
1 changed files with 3 additions and 1 deletions
|
@ -158,17 +158,19 @@ class OdricMasterTacticianChooseBlockersEffect extends ContinuousRuleModifyingEf
|
|||
public boolean applies(GameEvent event, Ability source, Game game) {
|
||||
ChooseBlockersRedundancyWatcher watcher = (ChooseBlockersRedundancyWatcher) game.getState().getWatchers().get(ChooseBlockersRedundancyWatcher.class.getSimpleName());
|
||||
watcher.decrement();
|
||||
watcher.copyCount--;
|
||||
if (watcher.copyCountApply > 0) {
|
||||
game.informPlayers(source.getSourceObject(game).getIdName() + " didn't apply");
|
||||
this.discard();
|
||||
return false;
|
||||
}
|
||||
watcher.copyCount--;
|
||||
watcher.copyCountApply = watcher.copyCount;
|
||||
Player blockController = game.getPlayer(source.getControllerId());
|
||||
if (blockController != null) {
|
||||
game.getCombat().selectBlockers(blockController, game);
|
||||
return true;
|
||||
}
|
||||
this.discard();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue