mirror of
https://github.com/correl/mage.git
synced 2024-11-14 11:09:31 +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 java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* @author Alex-Vasile
|
||||
|
@ -31,8 +33,11 @@ public class StennParanoidPartisan extends CardImpl {
|
|||
this.toughness = new MageInt(2);
|
||||
|
||||
// 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(
|
||||
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")
|
||||
));
|
||||
|
||||
|
@ -53,4 +58,4 @@ public class StennParanoidPartisan extends CardImpl {
|
|||
public StennParanoidPartisan copy() {
|
||||
return new StennParanoidPartisan(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue