mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
[DMU] Implement Stenn, Paranoid Partisan
This commit is contained in:
parent
3c3ba6f5a9
commit
94d0cfbd16
2 changed files with 57 additions and 0 deletions
56
Mage.Sets/src/mage/cards/s/StennParanoidPartisan.java
Normal file
56
Mage.Sets/src/mage/cards/s/StennParanoidPartisan.java
Normal file
|
@ -0,0 +1,56 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.AsEntersBattlefieldAbility;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.ChooseCardTypeEffect;
|
||||
import mage.abilities.effects.common.ExileReturnBattlefieldOwnerNextEndStepSourceEffect;
|
||||
import mage.abilities.effects.common.cost.SpellsCostReductionAllOfChosenCardTypeEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.*;
|
||||
import mage.filter.FilterCard;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author Alex-Vasile
|
||||
*/
|
||||
public class StennParanoidPartisan extends CardImpl {
|
||||
|
||||
public StennParanoidPartisan(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{W}{U}");
|
||||
|
||||
addSuperType(SuperType.LEGENDARY);
|
||||
addSubType(SubType.HUMAN, SubType.WIZARD);
|
||||
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// As Stenn, Paranoid Partisan enters the battlefield, choose a card type other than creature or land.
|
||||
this.addAbility(new AsEntersBattlefieldAbility(
|
||||
new ChooseCardTypeEffect(Outcome.Benefit, Arrays.asList(CardType.ARTIFACT, CardType.ENCHANTMENT, CardType.INSTANT, CardType.SORCERY))
|
||||
.setText("choose a card type other than creature or land")
|
||||
));
|
||||
|
||||
// Spells you cast of the chosen type cost {1} less to cast.
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD,
|
||||
new SpellsCostReductionAllOfChosenCardTypeEffect(new FilterCard("Spells you cast of the chosen type"), 1, true)
|
||||
));
|
||||
|
||||
// {1}{W}{U}: Exile Stenn. Return it to the battlefield under its owner’s control at the beginning of the next end step.
|
||||
this.addAbility(new SimpleActivatedAbility(new ExileReturnBattlefieldOwnerNextEndStepSourceEffect(), new ManaCostsImpl<>("{1}{W}{U}")));
|
||||
}
|
||||
|
||||
private StennParanoidPartisan(final StennParanoidPartisan card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public StennParanoidPartisan copy() {
|
||||
return new StennParanoidPartisan(this);
|
||||
}
|
||||
}
|
|
@ -202,6 +202,7 @@ public final class DominariaUnited extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Splatter Goblin", 109, Rarity.COMMON, mage.cards.s.SplatterGoblin.class));
|
||||
cards.add(new SetCardInfo("Sprouting Goblin", 145, Rarity.UNCOMMON, mage.cards.s.SproutingGoblin.class));
|
||||
cards.add(new SetCardInfo("Stall for Time", 34, Rarity.COMMON, mage.cards.s.StallForTime.class));
|
||||
cards.add(new SetCardInfo("Stenn, Paranoid Partisan", 221, Rarity.RARE, mage.cards.s.StennParanoidPartisan.class));
|
||||
cards.add(new SetCardInfo("Strength of the Coalition", 180, Rarity.UNCOMMON, mage.cards.s.StrengthOfTheCoalition.class));
|
||||
cards.add(new SetCardInfo("Stronghold Arena", 110, Rarity.RARE, mage.cards.s.StrongholdArena.class));
|
||||
cards.add(new SetCardInfo("Sulfurous Springs", 256, Rarity.RARE, mage.cards.s.SulfurousSprings.class));
|
||||
|
|
Loading…
Reference in a new issue