forked from External/mage
[AFR] Implemented Shambling Ghast
This commit is contained in:
parent
68d03570e8
commit
133dd2462c
2 changed files with 50 additions and 0 deletions
49
Mage.Sets/src/mage/cards/s/ShamblingGhast.java
Normal file
49
Mage.Sets/src/mage/cards/s/ShamblingGhast.java
Normal 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);
|
||||
}
|
||||
}
|
||||
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue