mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
* Vendilion Clique - Allow to select no card so target player does not discard nor draw a card.
This commit is contained in:
parent
889fd417b2
commit
8413be3b55
1 changed files with 1 additions and 0 deletions
|
@ -101,6 +101,7 @@ class VendilionCliqueEffect extends OneShotEffect {
|
|||
Player sourcePlayer = game.getPlayer(source.getControllerId());
|
||||
if (player != null && sourcePlayer != null) {
|
||||
TargetCard targetCard = new TargetCard(Zone.ALL, new FilterNonlandCard());
|
||||
targetCard.setRequired(false);
|
||||
if (sourcePlayer.choose(Outcome.Discard, player.getHand(), targetCard, game)) {
|
||||
Card c = game.getCard(targetCard.getFirstTarget());
|
||||
if (c != null) {
|
||||
|
|
Loading…
Reference in a new issue