mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
[DRC] Implement Peema Trailblazer (#13302)
This commit is contained in:
parent
1d6c096ab5
commit
fbc206acda
2 changed files with 59 additions and 0 deletions
58
Mage.Sets/src/mage/cards/p/PeemaTrailblazer.java
Normal file
58
Mage.Sets/src/mage/cards/p/PeemaTrailblazer.java
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
package mage.cards.p;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.DealsCombatDamageToAPlayerTriggeredAbility;
|
||||
import mage.abilities.costs.common.PayEnergyCost;
|
||||
import mage.abilities.dynamicvalue.common.GreatestPowerAmongControlledCreaturesValue;
|
||||
import mage.abilities.dynamicvalue.common.SavedDamageValue;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
|
||||
import mage.abilities.effects.common.counter.GetEnergyCountersControllerEffect;
|
||||
import mage.abilities.keyword.ExhaustAbility;
|
||||
import mage.constants.SubType;
|
||||
import mage.abilities.keyword.TrampleAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.counters.CounterType;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author sobiech
|
||||
*/
|
||||
public final class PeemaTrailblazer extends CardImpl {
|
||||
|
||||
public PeemaTrailblazer(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}");
|
||||
|
||||
this.subtype.add(SubType.ELEPHANT);
|
||||
this.subtype.add(SubType.WARRIOR);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Trample
|
||||
this.addAbility(TrampleAbility.getInstance());
|
||||
|
||||
// Whenever this creature deals combat damage to a player, you get that many {E}.
|
||||
this.addAbility(new DealsCombatDamageToAPlayerTriggeredAbility(new GetEnergyCountersControllerEffect(SavedDamageValue.MANY)));
|
||||
// Exhaust -- Pay six {E}: Put two +1/+1 counters on this creature. Then draw cards equal to the greatest power among creatures you control.
|
||||
final Ability peemaTrailblazerAbility = new ExhaustAbility(
|
||||
new AddCountersSourceEffect(CounterType.P1P1.createInstance(2)), new PayEnergyCost(6)
|
||||
);
|
||||
peemaTrailblazerAbility.addEffect(new DrawCardSourceControllerEffect(GreatestPowerAmongControlledCreaturesValue.instance));
|
||||
this.addAbility(peemaTrailblazerAbility);
|
||||
|
||||
|
||||
}
|
||||
|
||||
private PeemaTrailblazer(final PeemaTrailblazer card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PeemaTrailblazer copy() {
|
||||
return new PeemaTrailblazer(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -115,6 +115,7 @@ public final class AetherdriftCommander extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Panharmonicon", 135, Rarity.RARE, mage.cards.p.Panharmonicon.class));
|
||||
cards.add(new SetCardInfo("Path of Ancestry", 61, Rarity.COMMON, mage.cards.p.PathOfAncestry.class));
|
||||
cards.add(new SetCardInfo("Peema Aether-Seer", 113, Rarity.UNCOMMON, mage.cards.p.PeemaAetherSeer.class));
|
||||
cards.add(new SetCardInfo("Peema Trailblazer", 14, Rarity.RARE, mage.cards.p.PeemaTrailblazer.class));
|
||||
cards.add(new SetCardInfo("Pia and Kiran Nalaar", 105, Rarity.RARE, mage.cards.p.PiaAndKiranNalaar.class));
|
||||
cards.add(new SetCardInfo("Plague Belcher", 97, Rarity.RARE, mage.cards.p.PlagueBelcher.class));
|
||||
cards.add(new SetCardInfo("Prairie Stream", 167, Rarity.RARE, mage.cards.p.PrairieStream.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue