* 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:
LevelX2 2014-09-19 13:55:07 +02:00
parent bb10022ab5
commit e779556c11

View file

@ -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)) {