[WOE] Implement Solitary Sanctuary

This commit is contained in:
theelk801 2023-08-21 09:37:10 -04:00
parent 7180fd06ff
commit 6f5e59b690
3 changed files with 52 additions and 0 deletions

View file

@ -0,0 +1,50 @@
package mage.cards.s;
import mage.abilities.Ability;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.common.TapUntappedPermanentTriggeredAbility;
import mage.abilities.effects.common.TapTargetEffect;
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.counters.CounterType;
import mage.filter.StaticFilters;
import mage.target.common.TargetControlledCreaturePermanent;
import mage.target.common.TargetOpponentsCreaturePermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class SolitarySanctuary extends CardImpl {
public SolitarySanctuary(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{2}{W}");
// When Solitary Sanctuary enters the battlefield, tap target creature an opponent controls and put a stun counter on it.
Ability ability = new EntersBattlefieldTriggeredAbility(new TapTargetEffect());
ability.addEffect(new AddCountersTargetEffect(CounterType.STUN.createInstance())
.setText("and put a stun counter on it"));
ability.addTarget(new TargetOpponentsCreaturePermanent());
this.addAbility(ability);
// Whenever you tap an untapped creature an opponent controls, put a +1/+1 counter on target creature you control.
ability = new TapUntappedPermanentTriggeredAbility(
new AddCountersTargetEffect(CounterType.P1P1.createInstance()),
StaticFilters.FILTER_OPPONENTS_PERMANENT_CREATURE
);
ability.addTarget(new TargetControlledCreaturePermanent());
this.addAbility(ability);
}
private SolitarySanctuary(final SolitarySanctuary card) {
super(card);
}
@Override
public SolitarySanctuary copy() {
return new SolitarySanctuary(this);
}
}

View file

@ -108,6 +108,7 @@ public final class WildsOfEldraine extends ExpansionSet {
cards.add(new SetCardInfo("Shrouded Shepherd", 236, Rarity.UNCOMMON, mage.cards.s.ShroudedShepherd.class));
cards.add(new SetCardInfo("Skybeast Tracker", 185, Rarity.COMMON, mage.cards.s.SkybeastTracker.class));
cards.add(new SetCardInfo("Sleight of Hand", 67, Rarity.COMMON, mage.cards.s.SleightOfHand.class));
cards.add(new SetCardInfo("Solitary Sanctuary", 30, Rarity.UNCOMMON, mage.cards.s.SolitarySanctuary.class));
cards.add(new SetCardInfo("Soul-Guide Lantern", 251, Rarity.UNCOMMON, mage.cards.s.SoulGuideLantern.class));
cards.add(new SetCardInfo("Spellbook Vendor", 31, Rarity.RARE, mage.cards.s.SpellbookVendor.class));
cards.add(new SetCardInfo("Spiteful Hexmage", 108, Rarity.RARE, mage.cards.s.SpitefulHexmage.class));

View file

@ -50177,6 +50177,7 @@ Knight of Doves|Wilds of Eldraine|19|U|{2}{W}|Creature - Human Knight|1|3|Whenev
Moonshaker Cavalry|Wilds of Eldraine|21|M|{5}{W}{W}{W}|Creature - Spirit Knight|6|6|Flying$When Moonshaker Cavalry enters the battlefield, creatures you control gain flying and get +X/+X until end of turn, where X is the number of creatures you control.|
The Princess Takes Flight|Wilds of Eldraine|23|U|{2}{W}|Enchantment - Saga|||(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.)$I -- Exile up to one target creature.$II -- Target creature you control gets +2/+2 and gains flying until end of turn.$III -- Return the exiled card to the battlefield under its owner's control.|
Return Triumphant|Wilds of Eldraine|26|C|{1}{W}|Sorcery|||Return target creature card with mana value 3 or less from your graveyard to the battlefield. Create a Young Hero Role token attached to it.|
Solitary Sanctuary|Wilds of Eldraine|30|U|{2}{W}|Enchantment|||When Solitary Sanctuary enters the battlefield, tap target creature an opponent controls and put a stun counter on it.$Whenever you tap an untapped creature an opponent controls, put a +1/+1 counter on target creature you control.|
Spellbook Vendor|Wilds of Eldraine|31|R|{1}{W}|Creature - Human Peasant|2|2|Vigilance$At the beginning of combat on your turn, you may pay {1}. When you do, create a Sorcerer Role token attached to target creature you control.|
Stroke of Midnight|Wilds of Eldraine|33|U|{2}{W}|Instant|||Destroy target nonland permanent. Its controller creates a 1/1 white Human creature token.|
A Tale for the Ages|Wilds of Eldraine|34|R|{1}{W}|Enchantment|||Enchanted creatures you control get +2/+2.|