diff --git a/Mage.Sets/src/mage/cards/m/MajaBretagardProtector.java b/Mage.Sets/src/mage/cards/m/MajaBretagardProtector.java new file mode 100644 index 00000000000..8df0cea4476 --- /dev/null +++ b/Mage.Sets/src/mage/cards/m/MajaBretagardProtector.java @@ -0,0 +1,53 @@ +package mage.cards.m; + +import mage.MageInt; +import mage.abilities.common.EntersBattlefieldControlledTriggeredAbility; +import mage.abilities.common.SimpleStaticAbility; +import mage.abilities.effects.common.CreateTokenEffect; +import mage.abilities.effects.common.continuous.BoostControlledEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; +import mage.constants.SubType; +import mage.constants.SuperType; +import mage.filter.StaticFilters; +import mage.game.permanent.token.HumanWarriorToken; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class MajaBretagardProtector extends CardImpl { + + public MajaBretagardProtector(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}{W}{W}"); + + this.addSuperType(SuperType.LEGENDARY); + this.subtype.add(SubType.HUMAN); + this.subtype.add(SubType.WARRIOR); + this.power = new MageInt(2); + this.toughness = new MageInt(3); + + // Other creatures you control get +1/+1. + this.addAbility(new SimpleStaticAbility(new BoostControlledEffect( + 1, 1, Duration.WhileOnBattlefield, true + ))); + + // Whenever a land enters the battlefield under your control, create a 1/1 white Human Warrior creature token. + this.addAbility(new EntersBattlefieldControlledTriggeredAbility( + new CreateTokenEffect(new HumanWarriorToken()), + StaticFilters.FILTER_CONTROLLED_LAND_SHORT_TEXT + )); + } + + private MajaBretagardProtector(final MajaBretagardProtector card) { + super(card); + } + + @Override + public MajaBretagardProtector copy() { + return new MajaBretagardProtector(this); + } +} diff --git a/Mage.Sets/src/mage/sets/Kaldheim.java b/Mage.Sets/src/mage/sets/Kaldheim.java index cd0fb977324..855740e4531 100644 --- a/Mage.Sets/src/mage/sets/Kaldheim.java +++ b/Mage.Sets/src/mage/sets/Kaldheim.java @@ -171,6 +171,7 @@ public final class Kaldheim extends ExpansionSet { cards.add(new SetCardInfo("Koma, Cosmos Serpent", 221, Rarity.MYTHIC, mage.cards.k.KomaCosmosSerpent.class)); cards.add(new SetCardInfo("Littjara Kinseekers", 66, Rarity.COMMON, mage.cards.l.LittjaraKinseekers.class)); cards.add(new SetCardInfo("Magda, Brazen Outlaw", 142, Rarity.RARE, mage.cards.m.MagdaBrazenOutlaw.class)); + cards.add(new SetCardInfo("Maja, Bretagard Protector", 222, Rarity.UNCOMMON, mage.cards.m.MajaBretagardProtector.class)); cards.add(new SetCardInfo("Mammoth Growth", 183, Rarity.COMMON, mage.cards.m.MammothGrowth.class)); cards.add(new SetCardInfo("Masked Vandal", 184, Rarity.COMMON, mage.cards.m.MaskedVandal.class)); cards.add(new SetCardInfo("Maskwood Nexus", 240, Rarity.RARE, mage.cards.m.MaskwoodNexus.class)); diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index 8e75f83b37f..ecef030387a 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -40188,6 +40188,7 @@ Kardur's Vicious Return|Kaldheim|217|U|{2}{B}{R}|Enchantment - Saga|||(As this S Kaya the Inexorable|Kaldheim|218|M|{3}{W}{B}|Legendary Planeswalker - Kaya|5|+1: Put a ghostform counter on up to one target nontoken creature. It gains "When this creature dies or is put into exile, return it to its owner's hand and create a 1/1 white Spirit creature token with flying."$−3: Exile target nonland permanent.$−7: You get an emblem with "At the beginning of your upkeep, you may cast a legendary spell from your hand, from your graveyard, or from among cards you own in exile without paying its mana cost."| Koll, the Forgemaster|Kaldheim|220|U|{R}{W}|Legendary Creature - Dwarf Warrior|2|2|Whenever another nontoken creature you control dies, if it was enchanted or equipped, return it to its owner's hand.$Creature tokens you control that are enchanted or equipped get +1/+1.| Koma, Cosmos Serpent|Kaldheim|221|M|{3}{G}{G}{U}{U}|Legendary Creature - Serpent|6|6|This spell can't be countered.$At the beginning of each upkeep, create a 3/3 blue Serpent creature token named Koma's Coil.$Sacrifice another Serpent: Choose one —$• Tap target permanent. Its activated abilities can't be activated this turn.$• Koma, Cosmos Serpent gains indestructible until end of turn.| +Maja, Bretagard Protector|Kaldheim|222|U|{2}{G}{W}{W}|Legendary Creature - Human Warrior|2|3|Other creatures you control get +1/+1.$Whenever a land enters the battlefield under your control, create a 1/1 white Human Warrior creature token.| Moritte of the Frost|Kaldheim|223|U|{2}{G}{U}{U}|Legendary Snow Creature - Shapeshifter|0|0|Changeling$You may have Moritte of the Frost enter the battlefield as a copy of a permanent you control, except it's legendary and snow in addition to its other types and, if it's a creature, it enters with two additional +1/+1 counters on it and has changeling.| Narfi, Betrayer King|Kaldheim|224|U|{3}{U}{B}|Legendary Snow Creature - Zombie Wizard|4|3|Other snow and Zombie creatures you control get +1/+1.${S}{S}{S}: Return Narfi, Betrayer King from your graveyard to the battlefield tapped.| Niko Aris|Kaldheim|225|M|{X}{W}{U}{U}|Legendary Planeswalker - Niko|3|When Niko Aris enters the battlefield, create X Shard tokens.$+1: Up to one target creature you control can't be blocked this turn. Whenever that creature deals damage this turn, return it to its owner's hand.$−1: Niko Aris deals 2 damage to target tapped creature for each card you've drawn this turn.$−1: Create a Shard token.|