[AFR] Implemented Shambling Ghast

This commit is contained in:
Evan Kranzler 2021-07-01 18:49:05 -04:00
parent 68d03570e8
commit 133dd2462c
2 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,49 @@
package mage.cards.s;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.Mode;
import mage.abilities.common.DiesSourceTriggeredAbility;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.effects.common.continuous.BoostTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.game.permanent.token.TreasureToken;
import mage.target.common.TargetOpponentsCreaturePermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class ShamblingGhast extends CardImpl {
public ShamblingGhast(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{B}");
this.subtype.add(SubType.ZOMBIE);
this.power = new MageInt(1);
this.toughness = new MageInt(1);
// When Shambling Ghast dies, choose one
// Brave the Stench Target creature an opponent controls -1/-1 until end of turn.
Ability ability = new DiesSourceTriggeredAbility(new BoostTargetEffect(-1, -1));
ability.addTarget(new TargetOpponentsCreaturePermanent());
ability.withFirstModeFlavorWord("Brave the Stench");
// Search the Body Create a Treasure token.
ability.addMode(new Mode(new CreateTokenEffect(new TreasureToken())).withFlavorWord("Search the Body"));
this.addAbility(ability);
}
private ShamblingGhast(final ShamblingGhast card) {
super(card);
}
@Override
public ShamblingGhast copy() {
return new ShamblingGhast(this);
}
}

View file

@ -94,6 +94,7 @@ public final class AdventuresInTheForgottenRealms extends ExpansionSet {
cards.add(new SetCardInfo("Prosperous Innkeeper", 200, Rarity.UNCOMMON, mage.cards.p.ProsperousInnkeeper.class));
cards.add(new SetCardInfo("Purple Worm", 201, Rarity.UNCOMMON, mage.cards.p.PurpleWorm.class));
cards.add(new SetCardInfo("Ranger's Hawk", 37, Rarity.COMMON, mage.cards.r.RangersHawk.class));
cards.add(new SetCardInfo("Shambling Ghast", 119, Rarity.COMMON, mage.cards.s.ShamblingGhast.class));
cards.add(new SetCardInfo("Shortcut Seeker", 73, Rarity.COMMON, mage.cards.s.ShortcutSeeker.class));
cards.add(new SetCardInfo("Swamp", 270, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Tasha's Hideous Laughter", 78, Rarity.RARE, mage.cards.t.TashasHideousLaughter.class));