mirror of
https://github.com/correl/mage.git
synced 2025-01-13 19:11:33 +00:00
[NCC] Implemented Prosperous Partnership
This commit is contained in:
parent
52a980a4c6
commit
0b50972e13
2 changed files with 48 additions and 0 deletions
47
Mage.Sets/src/mage/cards/p/ProsperousPartnership.java
Normal file
47
Mage.Sets/src/mage/cards/p/ProsperousPartnership.java
Normal file
|
@ -0,0 +1,47 @@
|
|||
package mage.cards.p;
|
||||
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.common.TapTargetCost;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.game.permanent.token.CitizenGreenWhiteToken;
|
||||
import mage.game.permanent.token.TreasureToken;
|
||||
import mage.target.common.TargetControlledPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ProsperousPartnership extends CardImpl {
|
||||
|
||||
public ProsperousPartnership(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{1}{R}{W}");
|
||||
|
||||
// When Prosperous Partnership enters the battlefield, create two 1/1 green and white Citizen creature tokens.
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(
|
||||
new CreateTokenEffect(new CitizenGreenWhiteToken(), 2)
|
||||
));
|
||||
|
||||
// Tap three untapped creatures you control: Create a Treasure token.
|
||||
this.addAbility(new SimpleActivatedAbility(
|
||||
new CreateTokenEffect(new TreasureToken()),
|
||||
new TapTargetCost(new TargetControlledPermanent(
|
||||
3, StaticFilters.FILTER_CONTROLLED_UNTAPPED_CREATURES
|
||||
))
|
||||
));
|
||||
}
|
||||
|
||||
private ProsperousPartnership(final ProsperousPartnership card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ProsperousPartnership copy() {
|
||||
return new ProsperousPartnership(this);
|
||||
}
|
||||
}
|
|
@ -204,6 +204,7 @@ public final class NewCapennaCommander extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Preordain", 230, Rarity.COMMON, mage.cards.p.Preordain.class));
|
||||
cards.add(new SetCardInfo("Primal Empathy", 348, Rarity.UNCOMMON, mage.cards.p.PrimalEmpathy.class));
|
||||
cards.add(new SetCardInfo("Profane Command", 256, Rarity.RARE, mage.cards.p.ProfaneCommand.class));
|
||||
cards.add(new SetCardInfo("Prosperous Partnership", 78, Rarity.RARE, mage.cards.p.ProsperousPartnership.class));
|
||||
cards.add(new SetCardInfo("Puppeteer Clique", 257, Rarity.RARE, mage.cards.p.PuppeteerClique.class));
|
||||
cards.add(new SetCardInfo("Quietus Spike", 377, Rarity.RARE, mage.cards.q.QuietusSpike.class));
|
||||
cards.add(new SetCardInfo("Rakdos Signet", 378, Rarity.UNCOMMON, mage.cards.r.RakdosSignet.class));
|
||||
|
|
Loading…
Reference in a new issue