[AFR] Implemented You're Ambushed on the Road

This commit is contained in:
Evan Kranzler 2021-07-01 09:33:56 -04:00
parent d3798d41a6
commit d0ee17d661
3 changed files with 46 additions and 3 deletions

View file

@ -0,0 +1,42 @@
package mage.cards.y;
import mage.abilities.Mode;
import mage.abilities.effects.common.ReturnToHandTargetEffect;
import mage.abilities.effects.common.continuous.BoostTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.target.common.TargetControlledCreaturePermanent;
import mage.target.common.TargetCreaturePermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class YoureAmbushedOnTheRoad extends CardImpl {
public YoureAmbushedOnTheRoad(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{W}");
// Choose one
// Make a Retreat Return target creature you control to its owner's hand.
this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent());
this.getSpellAbility().withFirstModeFlavorWord("Make a Retreat");
// Stand and Fight Target creature gets +1/+3 until end of turn.
Mode mode = new Mode(new BoostTargetEffect(1, 3));
mode.addTarget(new TargetCreaturePermanent());
this.getSpellAbility().addMode(mode.withFlavorWord("Stand and Fight"));
}
private YoureAmbushedOnTheRoad(final YoureAmbushedOnTheRoad card) {
super(card);
}
@Override
public YoureAmbushedOnTheRoad copy() {
return new YoureAmbushedOnTheRoad(this);
}
}

View file

@ -98,6 +98,7 @@ public final class AdventuresInTheForgottenRealms extends ExpansionSet {
cards.add(new SetCardInfo("You Hear Something on Watch", 42, Rarity.COMMON, mage.cards.y.YouHearSomethingOnWatch.class));
cards.add(new SetCardInfo("You See a Guard Approach", 85, Rarity.COMMON, mage.cards.y.YouSeeAGuardApproach.class));
cards.add(new SetCardInfo("You See a Pair of Goblins", 170, Rarity.UNCOMMON, mage.cards.y.YouSeeAPairOfGoblins.class));
cards.add(new SetCardInfo("You're Ambushed on the Road", 43, Rarity.COMMON, mage.cards.y.YoureAmbushedOnTheRoad.class));
cards.add(new SetCardInfo("Yuan-Ti Fang-Blade", 128, Rarity.COMMON, mage.cards.y.YuanTiFangBlade.class));
cards.add(new SetCardInfo("Zombie Ogre", 129, Rarity.COMMON, mage.cards.z.ZombieOgre.class));
}

View file

@ -41333,16 +41333,16 @@ Icingdeath, Frost Tyrant|Adventures in the Forgotten Realms|20|M|{2}{W}{W}|Legen
Moon-Blessed Cleric|Adventures in the Forgotten Realms|26|U|{2}{W}|Creature - Human Elf Cleric|3|2|Divine Intervention — When Moon-Blessed Cleric enters the battlefield, you may search your library for an enchantment card, reveal it, then shuffle and put that card on top.|
Nadaar, Selfless Paladin|Adventures in the Forgotten Realms|27|R|{2}{W}|Legendary Creature - Dragon Knight|3|3|Vigilance$Whenever Nadaar, Selfless Paladin enters the battlefield or attacks, venture into the dungeon.$Other creatures you control get +1/+1 as long as you've completed a dungeon.|
Portable Hole|Adventures in the Forgotten Realms|33|U|{W}|Artifact|||When Portable Hole enters the battlefield, exile target nonland permanent an opponent controls with mana value 2 or less until Portable Hole leaves the battlefield.|
Ranger's Hawk|Adventures in the Forgotten Realms|37|C|{W}|Creature - Bird|1|1|Flying${3}, {T}, Tap another target untapped creature you control: Venture into the dungeon. Activate only as a sorcery.|
Ranger's Hawk|Adventures in the Forgotten Realms|37|C|{W}|Creature - Bird|1|1|Flying${3}, {T}, Tap another untapped creature you control: Venture into the dungeon. Activate only as a sorcery.|
You Hear Something on Watch|Adventures in the Forgotten Realms|42|C|{1}{W}|Instant|||Choose one —$• Rouse the Party — Creatures you control get +1/+1 until end of turn.$• Set Off Traps — This spell deals 5 damage to target attacking creature.|
You're Ambushed on the Road|Adventures in the Forgotten Realms|43|C|{W}|Instant|||Choose one —$• Make a Retreat — Return|
You're Ambushed on the Road|Adventures in the Forgotten Realms|43|C|{W}|Instant|||Choose one —$• Make a Retreat — Return target creature you control to its owner's hand.$• Stand and Fight — Target creature gets +1/+3 until end of turn.|
Air-Cult Elemental|Adventures in the Forgotten Realms|45|C|{4}{U}{U}|Creature - Elemental|2|5|Flying$Whirlwind — When Air-Cult Elemental enters the battlefield, return up to one other target creature to its owner's hand.|
Bar the Gate|Adventures in the Forgotten Realms|47|C|{2}{U}|Instant|||Counter target creature or planeswalker spell. Venture into the dungeon.|
The Blackstaff of Waterdeep|Adventures in the Forgotten Realms|48|R|{U}|Legendary Artifact|||You many choose not to untap The Blackstaff of Waterdeep during your untap step.$Animate Walking Statue — {1}{U}, {T}: Another target artifact you control becomes a 4/4 artifact creature for as long as The Blackstaff of Waterdeep remains tapped. Activate only as a sorcery.|
Charmed Sleep|Adventures in the Forgotten Realms|50|C|{1}{U}{U}|Enchantment - Aura|||Enchant creature$When Charmed Sleep enters the battlefield, tap enchanted creature.$Enchanted creature doesn't untap during its controller's untap step.|
Clever Conjurer|Adventures in the Forgotten Realms|51|C|{2}{U}|Creature - Gnome Wizard|2|3|Mage Hand — {T}: Untap target permanent not named Clever Conjurer. Activate only as a sorcery.|
Displacer Beast|Adventures in the Forgotten Realms|54|U|{2}{U}|Creature - Cat Beast|3|2|When Displacer Beast enters the battlefield, venture into the dungeon.$Displacement — {3}{U}: Return Displacer Beast to its owner's hand.|
Dragon Turtle|Adventures in the Forgotten Realms|56|R|{1}{U}{U}|Creature - Dragon Turtle|3|5|Flash$Drag Below — When Dragon Turtle enters the battlefield, tap it and up to one target creature and opponent controls. They don't untap during their controllers' next untap steps.|
Dragon Turtle|Adventures in the Forgotten Realms|56|R|{1}{U}{U}|Creature - Dragon Turtle|3|5|Flash$Drag Below — When Dragon Turtle enters the battlefield, tap it and up to one target creature an opponent controls. They don't untap during their controllers' next untap steps.|
Fly|Adventures in the Forgotten Realms|59|U|{U}|Enchantment - Aura|||Enchant creature$Enchanted creature has flying and "Whenever this creature deals combat damage to a player, venture into the dungeon."|
Grazilaxx, Illithid Scholar|Adventures in the Forgotten Realms|60|R|{1}{U}{U}|Legendary Creature - Horror|3|2|Whenever a creature you control becomes blocked, you may return it to its owner's hand.$Whenever one or more creatures you control deal combat damage to a player, draw a card.|
Guild Thief|Adventures in the Forgotten Realms|61|U|{1}{U}|Creature - Orc Rogue|1|1|Whenever Guild Thief deals combat damage to a player, put a +1/+1 counter on it.$Cunning Action — {3}{U}: Guild Thief can't be blocked this turn.|