* Smokestack - Fixed that the sacrifice was wrongly handled targeted.

This commit is contained in:
LevelX2 2016-09-22 23:58:45 +02:00
parent 500926f093
commit ae8e6122a5

View file

@ -96,7 +96,7 @@ class SmokestackEffect extends OneShotEffect {
int count = sourcePermanent.getCounters(game).getCount("Soot");
if (count > 0) {
int amount = Math.min(count, game.getBattlefield().countAll(new FilterControlledPermanent(), activePlayer.getId(), game));
Target target = new TargetControlledPermanent(amount, amount, new FilterControlledPermanent(), false);
Target target = new TargetControlledPermanent(amount, amount, new FilterControlledPermanent(), true);
//A spell or ability could have removed the only legal target this player
//had, if thats the case this ability should fizzle.
if (target.canChoose(activePlayer.getId(), game)) {