mirror of
https://github.com/correl/mage.git
synced 2025-01-13 19:11:33 +00:00
[STX] Implemented Arrogant Poet
This commit is contained in:
parent
f01dcb3cd8
commit
3943833871
2 changed files with 50 additions and 0 deletions
49
Mage.Sets/src/mage/cards/a/ArrogantPoet.java
Normal file
49
Mage.Sets/src/mage/cards/a/ArrogantPoet.java
Normal file
|
@ -0,0 +1,49 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.AttacksTriggeredAbility;
|
||||
import mage.abilities.costs.common.PayLifeCost;
|
||||
import mage.abilities.effects.common.DoIfCostPaid;
|
||||
import mage.abilities.effects.common.continuous.GainAbilitySourceEffect;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ArrogantPoet extends CardImpl {
|
||||
|
||||
public ArrogantPoet(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{B}");
|
||||
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.WARLOCK);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// Whenever Arrogant Poet attacks, you may pay 2 life. If you do, it gains flying until end of turn.
|
||||
this.addAbility(new AttacksTriggeredAbility(
|
||||
new DoIfCostPaid(
|
||||
new GainAbilitySourceEffect(
|
||||
FlyingAbility.getInstance(), Duration.EndOfTurn
|
||||
).setText("it gains flying until end of turn"),
|
||||
new PayLifeCost(2)
|
||||
), false
|
||||
));
|
||||
}
|
||||
|
||||
private ArrogantPoet(final ArrogantPoet card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ArrogantPoet copy() {
|
||||
return new ArrogantPoet(this);
|
||||
}
|
||||
}
|
|
@ -39,6 +39,7 @@ public final class StrixhavenSchoolOfMages extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Arcane Subtraction", 36, Rarity.COMMON, mage.cards.a.ArcaneSubtraction.class));
|
||||
cards.add(new SetCardInfo("Archmage Emeritus", 37, Rarity.RARE, mage.cards.a.ArchmageEmeritus.class));
|
||||
cards.add(new SetCardInfo("Archway Commons", 263, Rarity.COMMON, mage.cards.a.ArchwayCommons.class));
|
||||
cards.add(new SetCardInfo("Arrogant Poet", 63, Rarity.COMMON, mage.cards.a.ArrogantPoet.class));
|
||||
cards.add(new SetCardInfo("Beaming Defiance", 9, Rarity.COMMON, mage.cards.b.BeamingDefiance.class));
|
||||
cards.add(new SetCardInfo("Biomathematician", 164, Rarity.COMMON, mage.cards.b.Biomathematician.class));
|
||||
cards.add(new SetCardInfo("Blade Historian", 165, Rarity.RARE, mage.cards.b.BladeHistorian.class));
|
||||
|
|
Loading…
Reference in a new issue