mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* 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:
parent
9230acffaf
commit
d97ecc4ec0
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue