mirror of
https://github.com/magefree/mage.git
synced 2025-12-29 06:52:02 -08:00
* Fixed move to exile method of player. Fixes the alternat cost problem of force of will and Contagion.
This commit is contained in:
parent
786fc03044
commit
de21b60484
3 changed files with 4 additions and 6 deletions
|
|
@ -70,7 +70,7 @@ public class ExileFromHandCost extends CostImpl<ExileFromHandCost> {
|
|||
if (card == null) {
|
||||
return false;
|
||||
}
|
||||
this.cards.add(card.copy());
|
||||
this.cards.add(card);
|
||||
paid |= player.moveCardToExileWithInfo(card, null, null, ability.getSourceId(), game, Zone.HAND);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2132,6 +2132,7 @@ public abstract class PlayerImpl<T extends PlayerImpl<T>> implements Player, Ser
|
|||
.append(" moves ").append(card.getName()).append(" ")
|
||||
.append(fromZone != null ? new StringBuilder("from ").append(fromZone.toString().toLowerCase(Locale.ENGLISH)).append(" "):"")
|
||||
.append("to exile").toString());
|
||||
result = true;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue