mirror of
https://github.com/correl/mage.git
synced 2025-03-17 17:00:08 -09:00
* Disciple of Phenax - It shows no longer an empty window, if target player has no cards in hand.
This commit is contained in:
parent
672567cd72
commit
957d420e8d
1 changed files with 16 additions and 13 deletions
|
@ -122,11 +122,9 @@ class DiscipleOfPhenaxEffect extends OneShotEffect<DiscipleOfPhenaxEffect> {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!revealedCards.isEmpty()) {
|
||||
targetPlayer.revealCards("Disciple of Phenax", revealedCards, game);
|
||||
|
||||
Player you = game.getPlayer(source.getControllerId());
|
||||
|
||||
if (you != null) {
|
||||
TargetCard yourChoice = new TargetCard(Zone.PICK, new FilterCard());
|
||||
yourChoice.setRequired(true);
|
||||
|
@ -137,8 +135,13 @@ class DiscipleOfPhenaxEffect extends OneShotEffect<DiscipleOfPhenaxEffect> {
|
|||
return targetPlayer.discard(card, source, game);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue