* Opportunity - Fixed that the draw effect was handled optional but it wasn't (concerns also a lot of other cards) fixes #351.

This commit is contained in:
LevelX2 2013-10-02 14:26:23 +02:00
parent 9230acffaf
commit d97ecc4ec0

View file

@ -78,7 +78,7 @@ public class DrawCardTargetEffect extends OneShotEffect<DrawCardTargetEffect> {
public boolean apply(Game game, Ability source) {
Player player = game.getPlayer(targetPointer.getFirst(game, source));
if (player != null) {
if (player.chooseUse(outcome, "Use draw effect?", game)) {
if (!optional || player.chooseUse(outcome, "Use draw effect?", game)) {
player.drawCards(amount.calculate(game, source), game);
}
return true;