mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
fixed Agonizing Remorse not allowing players to pick cards
This commit is contained in:
parent
ef3b555467
commit
0f6fcaee18
1 changed files with 2 additions and 4 deletions
|
@ -14,8 +14,6 @@ import mage.filter.common.FilterNonlandCard;
|
|||
import mage.game.Game;
|
||||
import mage.players.Player;
|
||||
import mage.target.TargetCard;
|
||||
import mage.target.common.TargetCardInGraveyard;
|
||||
import mage.target.common.TargetCardInHand;
|
||||
import mage.target.common.TargetOpponent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
@ -71,11 +69,11 @@ class AgonizingRemorseEffect extends OneShotEffect {
|
|||
TargetCard target;
|
||||
Cards cards;
|
||||
if (controller.chooseUse(outcome, "Exile a card from hand or graveyard?", null, "Hand", "Graveyard", source, game)) {
|
||||
target = new TargetCardInHand(new FilterNonlandCard("nonland card in " + opponent.getName() + "'s hand"));
|
||||
target = new TargetCard(Zone.HAND, new FilterNonlandCard("nonland card in " + opponent.getName() + "'s hand"));
|
||||
target.setNotTarget(true);
|
||||
cards = opponent.getHand();
|
||||
} else {
|
||||
target = new TargetCardInGraveyard(new FilterCard("card in " + opponent.getName() + "'s graveyard"));
|
||||
target = new TargetCard(Zone.GRAVEYARD, new FilterCard("card in " + opponent.getName() + "'s graveyard"));
|
||||
target.setNotTarget(true);
|
||||
cards = opponent.getGraveyard();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue