[M3C] Implement Broodmate Tyrant

This commit is contained in:
theelk801 2024-05-31 16:51:48 -04:00
parent 46428264dc
commit 3de76895e7
2 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,47 @@
package mage.cards.b;
import mage.MageInt;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.keyword.EncoreAbility;
import mage.abilities.keyword.FlyingAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.game.permanent.token.DragonToken2;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class BroodmateTyrant extends CardImpl {
public BroodmateTyrant(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{B}{R}{G}");
this.subtype.add(SubType.DRAGON);
this.power = new MageInt(5);
this.toughness = new MageInt(5);
// Flying
this.addAbility(FlyingAbility.getInstance());
// When Broodmate Tyrant enters the battlefield, create a 5/5 red Dragon creature token with flying.
this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new DragonToken2())));
// Encore {5}{B}{R}{G}
this.addAbility(new EncoreAbility(new ManaCostsImpl<>("{5}{B}{R}{G}")));
}
private BroodmateTyrant(final BroodmateTyrant card) {
super(card);
}
@Override
public BroodmateTyrant copy() {
return new BroodmateTyrant(this);
}
}

View file

@ -56,6 +56,7 @@ public final class ModernHorizons3Commander extends ExpansionSet {
cards.add(new SetCardInfo("Bloodbraid Elf", 256, Rarity.UNCOMMON, mage.cards.b.BloodbraidElf.class));
cards.add(new SetCardInfo("Bonders' Enclave", 323, Rarity.RARE, mage.cards.b.BondersEnclave.class));
cards.add(new SetCardInfo("Brawn", 224, Rarity.UNCOMMON, mage.cards.b.Brawn.class));
cards.add(new SetCardInfo("Broodmate Tyrant", 71, Rarity.RARE, mage.cards.b.BroodmateTyrant.class));
cards.add(new SetCardInfo("Brudiclad, Telchor Engineer", 257, Rarity.MYTHIC, mage.cards.b.BrudicladTelchorEngineer.class));
cards.add(new SetCardInfo("Brushland", 324, Rarity.RARE, mage.cards.b.Brushland.class));
cards.add(new SetCardInfo("Burnished Hart", 284, Rarity.UNCOMMON, mage.cards.b.BurnishedHart.class));