mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
Fix Stenn, Paranoid Partisan (#10432)
* Fix Stenn, Paranoid Partisan * Fix arraylist mistake
This commit is contained in:
parent
0533a7a49c
commit
a7586ba580
1 changed files with 7 additions and 2 deletions
|
@ -14,7 +14,9 @@ import mage.constants.*;
|
||||||
import mage.filter.FilterCard;
|
import mage.filter.FilterCard;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Alex-Vasile
|
* @author Alex-Vasile
|
||||||
|
@ -31,8 +33,11 @@ public class StennParanoidPartisan extends CardImpl {
|
||||||
this.toughness = new MageInt(2);
|
this.toughness = new MageInt(2);
|
||||||
|
|
||||||
// As Stenn, Paranoid Partisan enters the battlefield, choose a card type other than creature or land.
|
// As Stenn, Paranoid Partisan enters the battlefield, choose a card type other than creature or land.
|
||||||
|
List<CardType> cardTypesOther = Arrays.stream(CardType.values()).collect(Collectors.toList());
|
||||||
|
cardTypesOther.remove(CardType.CREATURE);
|
||||||
|
cardTypesOther.remove(CardType.LAND);
|
||||||
this.addAbility(new AsEntersBattlefieldAbility(
|
this.addAbility(new AsEntersBattlefieldAbility(
|
||||||
new ChooseCardTypeEffect(Outcome.Benefit, Arrays.asList(CardType.ARTIFACT, CardType.ENCHANTMENT, CardType.INSTANT, CardType.SORCERY))
|
new ChooseCardTypeEffect(Outcome.Benefit, cardTypesOther)
|
||||||
.setText("choose a card type other than creature or land")
|
.setText("choose a card type other than creature or land")
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue