diff --git a/Mage.Sets/src/mage/cards/b/BastionOfRemembrance.java b/Mage.Sets/src/mage/cards/b/BastionOfRemembrance.java new file mode 100644 index 00000000000..4a41aaef068 --- /dev/null +++ b/Mage.Sets/src/mage/cards/b/BastionOfRemembrance.java @@ -0,0 +1,45 @@ +package mage.cards.b; + +import mage.abilities.Ability; +import mage.abilities.common.DiesCreatureTriggeredAbility; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.effects.common.CreateTokenEffect; +import mage.abilities.effects.common.GainLifeEffect; +import mage.abilities.effects.common.LoseLifeOpponentsEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.filter.StaticFilters; +import mage.game.permanent.token.HumanSoldierToken; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class BastionOfRemembrance extends CardImpl { + + public BastionOfRemembrance(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{2}{B}"); + + // When Bastion of Remembrance enters the battlefield, create a 1/1 white Human Soldier creature token. + this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new HumanSoldierToken()))); + + // Whenever a creature you control dies, each opponent loses 1 life and you gain 1 life. + Ability ability = new DiesCreatureTriggeredAbility( + new LoseLifeOpponentsEffect(1), false, + StaticFilters.FILTER_CONTROLLED_A_CREATURE + ); + ability.addEffect(new GainLifeEffect(1).concatBy("and")); + this.addAbility(ability); + } + + private BastionOfRemembrance(final BastionOfRemembrance card) { + super(card); + } + + @Override + public BastionOfRemembrance copy() { + return new BastionOfRemembrance(this); + } +} diff --git a/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java b/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java index 08f24a2c18b..f542f225101 100644 --- a/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java +++ b/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java @@ -27,6 +27,7 @@ public final class IkoriaLairOfBehemoths extends ExpansionSet { this.maxCardNumberInBooster = 274; this.hasBasicLands = false; // remove when basics are available + cards.add(new SetCardInfo("Bastion of Remembrance", 73, Rarity.UNCOMMON, mage.cards.b.BastionOfRemembrance.class)); cards.add(new SetCardInfo("Boon of the Wish-Giver", 43, Rarity.UNCOMMON, mage.cards.b.BoonOfTheWishGiver.class)); cards.add(new SetCardInfo("Bristling Boar", 146, Rarity.COMMON, mage.cards.b.BristlingBoar.class)); cards.add(new SetCardInfo("Cavern Whisperer", 79, Rarity.COMMON, mage.cards.c.CavernWhisperer.class));