mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
[AFR] Implemented Displacer Beast
This commit is contained in:
parent
da8536ff0c
commit
1153af2759
2 changed files with 47 additions and 0 deletions
46
Mage.Sets/src/mage/cards/d/DisplacerBeast.java
Normal file
46
Mage.Sets/src/mage/cards/d/DisplacerBeast.java
Normal file
|
@ -0,0 +1,46 @@
|
|||
package mage.cards.d;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.ReturnToHandSourceEffect;
|
||||
import mage.abilities.effects.keyword.VentureIntoTheDungeonEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class DisplacerBeast extends CardImpl {
|
||||
|
||||
public DisplacerBeast(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{U}");
|
||||
|
||||
this.subtype.add(SubType.CAT);
|
||||
this.subtype.add(SubType.BEAST);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// When Displacer Beast enters the battlefield, venture into the dungeon.
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(new VentureIntoTheDungeonEffect()));
|
||||
|
||||
// Displacement — {3}{U}: Return Displacer Beast to its owner's hand.
|
||||
this.addAbility(new SimpleActivatedAbility(
|
||||
new ReturnToHandSourceEffect(true), new ManaCostsImpl<>("{3}{U}")
|
||||
).withFlavorWord("Displacement"));
|
||||
}
|
||||
|
||||
private DisplacerBeast(final DisplacerBeast card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DisplacerBeast copy() {
|
||||
return new DisplacerBeast(this);
|
||||
}
|
||||
}
|
|
@ -41,6 +41,7 @@ public final class AdventuresInTheForgottenRealms extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Cloister Gargoyle", 7, Rarity.UNCOMMON, mage.cards.c.CloisterGargoyle.class));
|
||||
cards.add(new SetCardInfo("Dawnbringer Cleric", 9, Rarity.COMMON, mage.cards.d.DawnbringerCleric.class));
|
||||
cards.add(new SetCardInfo("Den of the Bugbear", 254, Rarity.RARE, mage.cards.d.DenOfTheBugbear.class));
|
||||
cards.add(new SetCardInfo("Displacer Beast", 54, Rarity.UNCOMMON, mage.cards.d.DisplacerBeast.class));
|
||||
cards.add(new SetCardInfo("Dragon Turtle", 56, Rarity.RARE, mage.cards.d.DragonTurtle.class));
|
||||
cards.add(new SetCardInfo("Drizzt Do'Urden", 220, Rarity.RARE, mage.cards.d.DrizztDoUrden.class));
|
||||
cards.add(new SetCardInfo("Dueling Rapier", 140, Rarity.COMMON, mage.cards.d.DuelingRapier.class));
|
||||
|
|
Loading…
Reference in a new issue