[MID] Implemented Burn Down the House

This commit is contained in:
Evan Kranzler 2021-09-10 08:42:44 -04:00
parent 79768242d9
commit 11238333b5
3 changed files with 87 additions and 0 deletions

View file

@ -8,8 +8,10 @@ import mage.cards.Cards;
import mage.constants.Zone;
import mage.game.Game;
import mage.game.permanent.Permanent;
import mage.game.permanent.token.Token;
import java.util.*;
import java.util.stream.Collectors;
/**
* @author LevelX2
@ -38,6 +40,10 @@ public class FixedTargets extends TargetPointerImpl {
this.initialized = true;
}
public FixedTargets(Token token, Game game) {
this(token.getLastAddedTokenIds().stream().map(game::getPermanent).collect(Collectors.toList()), game);
}
public FixedTargets(List<Permanent> permanents, Game game) {
super();