[DMC] Implement Bladewing, Deathless Tyrant (#9484)

This commit is contained in:
PurpleCrowbar 2022-09-08 01:00:31 +01:00 committed by GitHub
parent afc32be642
commit 52aa226622
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 61 additions and 0 deletions

View file

@ -0,0 +1,59 @@
package mage.cards.b;
import mage.MageInt;
import mage.abilities.common.DealsCombatDamageToAPlayerTriggeredAbility;
import mage.abilities.dynamicvalue.common.CardsInControllerGraveyardCount;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.keyword.FlyingAbility;
import mage.abilities.keyword.HasteAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.SuperType;
import mage.filter.StaticFilters;
import mage.game.permanent.token.ZombieKnightToken;
import java.util.UUID;
/**
* @author PurpleCrowbar
*/
public final class BladewingDeathlessTyrant extends CardImpl {
public BladewingDeathlessTyrant(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{5}{B}{R}");
addSuperType(SuperType.LEGENDARY);
this.subtype.add(SubType.DRAGON);
this.subtype.add(SubType.SKELETON);
this.power = new MageInt(6);
this.toughness = new MageInt(6);
// Flying
this.addAbility(FlyingAbility.getInstance());
// Haste
this.addAbility(HasteAbility.getInstance());
// Whenever Bladewing, Deathless Tyrant deals combat damage to a player or planeswalker,
// for each creature card in your graveyard, create a 2/2 black Zombie Knight creature token with menace.
this.addAbility(new DealsCombatDamageToAPlayerTriggeredAbility(
new CreateTokenEffect(
new ZombieKnightToken(),
new CardsInControllerGraveyardCount(
StaticFilters.FILTER_CARD_CREATURE
)
), false
).setOrPlaneswalker(true));
}
private BladewingDeathlessTyrant(final BladewingDeathlessTyrant card) {
super(card);
}
@Override
public BladewingDeathlessTyrant copy() {
return new BladewingDeathlessTyrant(this);
}
}

View file

@ -39,6 +39,8 @@ public final class DominariaUnitedCommander extends ExpansionSet {
cards.add(new SetCardInfo("Bedevil", 144, Rarity.RARE, mage.cards.b.Bedevil.class));
cards.add(new SetCardInfo("Bell Borca, Spectral Sergeant", 145, Rarity.RARE, mage.cards.b.BellBorcaSpectralSergeant.class));
cards.add(new SetCardInfo("Blackblade Reforged", 178, Rarity.RARE, mage.cards.b.BlackbladeReforged.class));
cards.add(new SetCardInfo("Bladewing, Deathless Tyrant", 9, Rarity.RARE, mage.cards.b.BladewingDeathlessTyrant.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Bladewing, Deathless Tyrant", 85, Rarity.RARE, mage.cards.b.BladewingDeathlessTyrant.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Bojuka Bog", 199, Rarity.COMMON, mage.cards.b.BojukaBog.class));
cards.add(new SetCardInfo("Bontu's Monument", 179, Rarity.UNCOMMON, mage.cards.b.BontusMonument.class));
cards.add(new SetCardInfo("Boros Garrison", 200, Rarity.UNCOMMON, mage.cards.b.BorosGarrison.class));