mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* Duneblast - Fixed that it was not possible to not select a creature if the controller had a creature on the battlefield.
This commit is contained in:
parent
bb10022ab5
commit
e779556c11
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ class DuneblastEffect extends OneShotEffect {
|
|||
public boolean apply(Game game, Ability source) {
|
||||
Player controller = game.getPlayer(source.getControllerId());
|
||||
if (controller != null) {
|
||||
Target target = new TargetCreaturePermanent(1,1,new FilterCreaturePermanent("creature to keep"), true);
|
||||
Target target = new TargetCreaturePermanent(0,1,new FilterCreaturePermanent("creature to keep"), true);
|
||||
target.setRequired(true);
|
||||
Permanent creatureToKeep = null;
|
||||
if (controller.choose(outcome, target, source.getSourceId(), game)) {
|
||||
|
|
Loading…
Reference in a new issue