mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 13:32:06 -08:00
[MID] Implemented Burn Down the House
This commit is contained in:
parent
79768242d9
commit
11238333b5
3 changed files with 87 additions and 0 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue