mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 05:22:02 -08:00
- Revert changes made for bug #5437. See 2ca1643b54
This commit is contained in:
parent
b2af8a3887
commit
cb340e4709
4 changed files with 2 additions and 19 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue