* Fixed move to exile method of player. Fixes the alternat cost problem of force of will and Contagion.

This commit is contained in:
LevelX2 2014-02-21 19:14:44 +01:00
parent 786fc03044
commit de21b60484
3 changed files with 4 additions and 6 deletions

View file

@ -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);
}
}

View file

@ -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;
}