mirror of
https://github.com/correl/mage.git
synced 2024-12-24 03:00:14 +00:00
Duress and Despire targets must be selected
This commit is contained in:
parent
af2c69b449
commit
a5e96555e6
2 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,7 @@ class DuressEffect extends OneShotEffect<DuressEffect> {
|
|||
Player you = game.getPlayer(source.getControllerId());
|
||||
if (you != null) {
|
||||
TargetCard target = new TargetCard(Zone.PICK, filter);
|
||||
target.setRequired(true);
|
||||
if (you.choose(Outcome.Benefit, player.getHand(), target, game)) {
|
||||
Card card = player.getHand().get(target.getFirstTarget(), game);
|
||||
if (card != null) {
|
||||
|
|
|
@ -97,6 +97,7 @@ class DespiseEffect extends OneShotEffect<DespiseEffect> {
|
|||
Player you = game.getPlayer(source.getControllerId());
|
||||
if (you != null) {
|
||||
TargetCard target = new TargetCard(Constants.Zone.PICK, filter);
|
||||
target.setRequired(true);
|
||||
if (you.choose(Constants.Outcome.Benefit, player.getHand(), target, game)) {
|
||||
Card card = player.getHand().get(target.getFirstTarget(), game);
|
||||
if (card != null) {
|
||||
|
|
Loading…
Reference in a new issue