mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 06:22:01 -08:00
[CLB] Implemented Patron of the Arts
This commit is contained in:
parent
0edab859a9
commit
fb837d9fea
2 changed files with 40 additions and 0 deletions
39
Mage.Sets/src/mage/cards/p/PatronOfTheArts.java
Normal file
39
Mage.Sets/src/mage/cards/p/PatronOfTheArts.java
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
package mage.cards.p;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.EntersBattlefieldOrDiesSourceTriggeredAbility;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.game.permanent.token.TreasureToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class PatronOfTheArts extends CardImpl {
|
||||
|
||||
public PatronOfTheArts(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{R}");
|
||||
|
||||
this.subtype.add(SubType.DRAGON);
|
||||
this.subtype.add(SubType.NOBLE);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// When Patron of the Arts enters the battlefield or dies, create a Treasure token.
|
||||
this.addAbility(new EntersBattlefieldOrDiesSourceTriggeredAbility(new CreateTokenEffect(new TreasureToken()), false));
|
||||
}
|
||||
|
||||
private PatronOfTheArts(final PatronOfTheArts card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PatronOfTheArts copy() {
|
||||
return new PatronOfTheArts(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -181,6 +181,7 @@ public final class CommanderLegendsBattleForBaldursGate extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Parasitic Impetus", 140, Rarity.COMMON, mage.cards.p.ParasiticImpetus.class));
|
||||
cards.add(new SetCardInfo("Passageway Seer", 141, Rarity.UNCOMMON, mage.cards.p.PassagewaySeer.class));
|
||||
cards.add(new SetCardInfo("Patriar's Seal", 332, Rarity.UNCOMMON, mage.cards.p.PatriarsSeal.class));
|
||||
cards.add(new SetCardInfo("Patron of the Arts", 191, Rarity.COMMON, mage.cards.p.PatronOfTheArts.class));
|
||||
cards.add(new SetCardInfo("Pilgrim's Eye", 333, Rarity.COMMON, mage.cards.p.PilgrimsEye.class));
|
||||
cards.add(new SetCardInfo("Plains", 451, Rarity.LAND, mage.cards.basiclands.Plains.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Predatory Impetus", 249, Rarity.COMMON, mage.cards.p.PredatoryImpetus.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue