[MKC] Implement Duskana, the Rage Mother

This commit is contained in:
PurpleCrowbar 2024-02-28 16:28:07 +00:00
parent ee332cd680
commit 2aecc11305
2 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1,54 @@
package mage.cards.d;
import mage.MageInt;
import mage.abilities.common.AttacksAllTriggeredAbility;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.effects.common.continuous.BoostTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.*;
import mage.filter.common.FilterCreaturePermanent;
import mage.filter.predicate.mageobject.BasePowerPredicate;
import mage.filter.predicate.mageobject.BaseToughnessPredicate;
import java.util.UUID;
/**
* @author PurpleCrowbar
*/
public final class DuskanaTheRageMother extends CardImpl {
static final FilterCreaturePermanent filter = new FilterCreaturePermanent("creature you control with base power and toughness 2/2");
static {
filter.add(new BasePowerPredicate(ComparisonType.EQUAL_TO, 2));
filter.add(new BaseToughnessPredicate(ComparisonType.EQUAL_TO, 2));
}
public DuskanaTheRageMother(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{R}{G}{W}");
this.supertype.add(SuperType.LEGENDARY);
this.subtype.add(SubType.BEAR);
this.power = new MageInt(5);
this.toughness = new MageInt(5);
// When Duskana, the Rage Mother enters the battlefield, draw a card for each creature you control with base power and toughness 2/2.
this.addAbility(new EntersBattlefieldTriggeredAbility(new DrawCardSourceControllerEffect(new PermanentsOnBattlefieldCount(filter))));
// Whenever a creature you control with base power and toughness 2/2 attacks, it gets +3/+3 until end of turn.
this.addAbility(new AttacksAllTriggeredAbility(
new BoostTargetEffect(3, 3), false, filter, SetTargetPointer.PERMANENT, false
));
}
private DuskanaTheRageMother(final DuskanaTheRageMother card) {
super(card);
}
@Override
public DuskanaTheRageMother copy() {
return new DuskanaTheRageMother(this);
}
}

View file

@ -88,6 +88,8 @@ public final class MurdersAtKarlovManorCommander extends ExpansionSet {
cards.add(new SetCardInfo("Dream Eater", 101, Rarity.MYTHIC, mage.cards.d.DreamEater.class));
cards.add(new SetCardInfo("Drownyard Temple", 259, Rarity.RARE, mage.cards.d.DrownyardTemple.class));
cards.add(new SetCardInfo("Duelist's Heritage", 60, Rarity.RARE, mage.cards.d.DuelistsHeritage.class));
cards.add(new SetCardInfo("Duskana, the Rage Mother", 5, Rarity.MYTHIC, mage.cards.d.DuskanaTheRageMother.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Duskana, the Rage Mother", 312, Rarity.MYTHIC, mage.cards.d.DuskanaTheRageMother.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Dusk // Dawn", 61, Rarity.RARE, mage.cards.d.DuskDawn.class));
cards.add(new SetCardInfo("Elspeth, Sun's Champion", 62, Rarity.MYTHIC, mage.cards.e.ElspethSunsChampion.class));
cards.add(new SetCardInfo("Enhanced Surveillance", 102, Rarity.UNCOMMON, mage.cards.e.EnhancedSurveillance.class));