mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
[FDN] Implement Apothecary Stomper
This commit is contained in:
parent
3df8a5efe2
commit
5b7ab2f549
2 changed files with 55 additions and 0 deletions
54
Mage.Sets/src/mage/cards/a/ApothecaryStomper.java
Normal file
54
Mage.Sets/src/mage/cards/a/ApothecaryStomper.java
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.Mode;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.common.GainLifeEffect;
|
||||
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
|
||||
import mage.abilities.keyword.VigilanceAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.counters.CounterType;
|
||||
import mage.target.common.TargetControlledCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ApothecaryStomper extends CardImpl {
|
||||
|
||||
public ApothecaryStomper(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{G}{G}");
|
||||
|
||||
this.subtype.add(SubType.ELEPHANT);
|
||||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// Vigilance
|
||||
this.addAbility(VigilanceAbility.getInstance());
|
||||
|
||||
// When this creature enters, choose one --
|
||||
// * Put two +1/+1 counters on target creature you control.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(
|
||||
new AddCountersTargetEffect(CounterType.P1P1.createInstance(2))
|
||||
);
|
||||
ability.addTarget(new TargetControlledCreaturePermanent());
|
||||
|
||||
// * You gain 4 life.
|
||||
ability.addMode(new Mode(new GainLifeEffect(4)));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private ApothecaryStomper(final ApothecaryStomper card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ApothecaryStomper copy() {
|
||||
return new ApothecaryStomper(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -40,6 +40,7 @@ public final class Foundations extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Angelic Destiny", 565, Rarity.MYTHIC, mage.cards.a.AngelicDestiny.class));
|
||||
cards.add(new SetCardInfo("Angelic Edict", 490, Rarity.COMMON, mage.cards.a.AngelicEdict.class));
|
||||
cards.add(new SetCardInfo("Anthem of Champions", 116, Rarity.RARE, mage.cards.a.AnthemOfChampions.class));
|
||||
cards.add(new SetCardInfo("Apothecary Stomper", 99, Rarity.COMMON, mage.cards.a.ApothecaryStomper.class));
|
||||
cards.add(new SetCardInfo("Arahbo, the First Fang", 2, Rarity.RARE, mage.cards.a.ArahboTheFirstFang.class));
|
||||
cards.add(new SetCardInfo("Arbiter of Woe", 55, Rarity.UNCOMMON, mage.cards.a.ArbiterOfWoe.class));
|
||||
cards.add(new SetCardInfo("Arcane Epiphany", 29, Rarity.UNCOMMON, mage.cards.a.ArcaneEpiphany.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue