[DMU] Implemented Balmor, Battlemage Captain

This commit is contained in:
Daniel Bomar 2022-08-25 08:05:33 -05:00
parent c7ec88a8cf
commit 9a55b0dfa0
No known key found for this signature in database
GPG key ID: C86C8658F4023918
2 changed files with 59 additions and 0 deletions

View file

@ -0,0 +1,58 @@
package mage.cards.b;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.SpellCastControllerTriggeredAbility;
import mage.abilities.effects.common.continuous.BoostControlledEffect;
import mage.abilities.effects.common.continuous.GainAbilityControlledEffect;
import mage.abilities.keyword.TrampleAbility;
import mage.constants.Duration;
import mage.constants.SubType;
import mage.constants.SuperType;
import mage.abilities.keyword.FlyingAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.filter.StaticFilters;
/**
*
* @author weirddan455
*/
public final class BalmorBattlemageCaptain extends CardImpl {
public BalmorBattlemageCaptain(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{U}{R}");
this.addSuperType(SuperType.LEGENDARY);
this.subtype.add(SubType.BIRD);
this.subtype.add(SubType.WIZARD);
this.power = new MageInt(1);
this.toughness = new MageInt(3);
// Flying
this.addAbility(FlyingAbility.getInstance());
// Whenever you cast an instant or sorcery spell, creatures you control get +1/+0 and gain trample until end of turn.
Ability ability = new SpellCastControllerTriggeredAbility(
new BoostControlledEffect(1, 0, Duration.EndOfTurn).setText("creatures you control get +1/+0"),
StaticFilters.FILTER_SPELL_AN_INSTANT_OR_SORCERY,
false
);
ability.addEffect(new GainAbilityControlledEffect(
TrampleAbility.getInstance(), Duration.EndOfTurn, StaticFilters.FILTER_PERMANENT_CREATURES)
.setText("and gain trample until end of turn")
);
this.addAbility(ability);
}
private BalmorBattlemageCaptain(final BalmorBattlemageCaptain card) {
super(card);
}
@Override
public BalmorBattlemageCaptain copy() {
return new BalmorBattlemageCaptain(this);
}
}

View file

@ -41,6 +41,7 @@ public final class DominariaUnited extends ExpansionSet {
cards.add(new SetCardInfo("Astor, Bearer of Blades", 194, Rarity.RARE, mage.cards.a.AstorBearerOfBlades.class));
cards.add(new SetCardInfo("Automatic Librarian", 229, Rarity.COMMON, mage.cards.a.AutomaticLibrarian.class));
cards.add(new SetCardInfo("Balduvian Atrocity", 79, Rarity.UNCOMMON, mage.cards.b.BalduvianAtrocity.class));
cards.add(new SetCardInfo("Balmor, Battlemage Captain", 196, Rarity.UNCOMMON, mage.cards.b.BalmorBattlemageCaptain.class));
cards.add(new SetCardInfo("Battlewing Mystic", 43, Rarity.UNCOMMON, mage.cards.b.BattlewingMystic.class));
cards.add(new SetCardInfo("Benalish Sleeper", 8, Rarity.COMMON, mage.cards.b.BenalishSleeper.class));
cards.add(new SetCardInfo("Bog Badger", 156, Rarity.COMMON, mage.cards.b.BogBadger.class));