- Revert changes made for bug #5437. See 2ca1643b54

This commit is contained in:
jeffwadsworth 2020-01-23 08:31:22 -06:00
parent b2af8a3887
commit cb340e4709
4 changed files with 2 additions and 19 deletions

View file

@ -53,7 +53,7 @@ public class DrawCardSourceControllerEffect extends OneShotEffect {
public boolean apply(Game game, Ability source) {
Player player = game.getPlayer(source.getControllerId());
if (player != null
&& player.isInGame()) {
&& player.canRespond()) {
player.drawCards(amount.calculate(game, source, this), game);
return true;
}

View file

@ -63,7 +63,7 @@ public class DrawCardTargetEffect extends OneShotEffect {
for (UUID playerId : getTargetPointer().getTargets(game, source)) {
Player player = game.getPlayer(playerId);
if (player != null
&& player.isInGame()) {
&& player.canRespond()) {
int cardsToDraw = amount.calculate(game, source, this);
if (upTo) {
cardsToDraw = player.getAmount(0, cardsToDraw, "Draw how many cards?", game);