diff --git a/Mage.Sets/src/mage/cards/p/PaintersStudioDefacedGallery.java b/Mage.Sets/src/mage/cards/p/PaintersStudioDefacedGallery.java new file mode 100644 index 00000000000..b85b90b3296 --- /dev/null +++ b/Mage.Sets/src/mage/cards/p/PaintersStudioDefacedGallery.java @@ -0,0 +1,43 @@ +package mage.cards.p; + +import mage.abilities.common.AttacksWithCreaturesTriggeredAbility; +import mage.abilities.common.UnlockThisDoorTriggeredAbility; +import mage.abilities.effects.common.ExileTopXMayPlayUntilEffect; +import mage.abilities.effects.common.continuous.BoostControlledEffect; +import mage.cards.CardSetInfo; +import mage.cards.RoomCard; +import mage.constants.Duration; +import mage.filter.StaticFilters; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class PaintersStudioDefacedGallery extends RoomCard { + + public PaintersStudioDefacedGallery(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, "{2}{R}", "{1}{R}"); + + // Painter's Studio + // When you unlock this door, exile the top two cards of your library. You may play them until the end of your next turn. + this.getLeftHalfCard().addAbility(new UnlockThisDoorTriggeredAbility( + new ExileTopXMayPlayUntilEffect(2, Duration.UntilEndOfYourNextTurn), false, true + )); + + // Defaced Gallery + // Whenever you attack, attacking creatures you control get +1/+0 until end of turn. + this.getRightHalfCard().addAbility(new AttacksWithCreaturesTriggeredAbility(new BoostControlledEffect( + 1, 0, Duration.EndOfTurn, StaticFilters.FILTER_ATTACKING_CREATURES + ), 1)); + } + + private PaintersStudioDefacedGallery(final PaintersStudioDefacedGallery card) { + super(card); + } + + @Override + public PaintersStudioDefacedGallery copy() { + return new PaintersStudioDefacedGallery(this); + } +} diff --git a/Mage.Sets/src/mage/sets/DuskmournHouseOfHorror.java b/Mage.Sets/src/mage/sets/DuskmournHouseOfHorror.java index e5bde23ca75..0805e5d1f1e 100644 --- a/Mage.Sets/src/mage/sets/DuskmournHouseOfHorror.java +++ b/Mage.Sets/src/mage/sets/DuskmournHouseOfHorror.java @@ -275,6 +275,7 @@ public final class DuskmournHouseOfHorror extends ExpansionSet { cards.add(new SetCardInfo("Overlord of the Mistmoors", 370, Rarity.MYTHIC, mage.cards.o.OverlordOfTheMistmoors.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Overlord of the Mistmoors", 387, Rarity.MYTHIC, mage.cards.o.OverlordOfTheMistmoors.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Overlord of the Mistmoors", 397, Rarity.MYTHIC, mage.cards.o.OverlordOfTheMistmoors.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Painter's Studio // Defaced Gallery", 147, Rarity.UNCOMMON, mage.cards.p.PaintersStudioDefacedGallery.class)); cards.add(new SetCardInfo("Paranormal Analyst", 69, Rarity.UNCOMMON, mage.cards.p.ParanormalAnalyst.class)); cards.add(new SetCardInfo("Patched Plaything", 24, Rarity.UNCOMMON, mage.cards.p.PatchedPlaything.class)); cards.add(new SetCardInfo("Patchwork Beastie", 195, Rarity.UNCOMMON, mage.cards.p.PatchworkBeastie.class));