Skip to content

Commit

Permalink
[FDN] Implement Prideful Parent
Browse files Browse the repository at this point in the history
  • Loading branch information
theelk801 committed Aug 16, 2024
1 parent aeccdfe commit c0c538b
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
42 changes: 42 additions & 0 deletions Mage.Sets/src/mage/cards/p/PridefulParent.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
package mage.cards.p;

import mage.MageInt;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.keyword.VigilanceAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.game.permanent.token.CatToken3;

import java.util.UUID;

/**
* @author TheElk801
*/
public final class PridefulParent extends CardImpl {

public PridefulParent(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{W}");

this.subtype.add(SubType.CAT);
this.power = new MageInt(2);
this.toughness = new MageInt(2);

// Vigilance
this.addAbility(VigilanceAbility.getInstance());

// When this creature enters, create a 1/1 white Cat creature token.
this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new CatToken3())));
}

private PridefulParent(final PridefulParent card) {
super(card);
}

@Override
public PridefulParent copy() {
return new PridefulParent(this);
}
}
1 change: 1 addition & 0 deletions Mage.Sets/src/mage/sets/Foundations.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ private Foundations() {
cards.add(new SetCardInfo("Omniscience", 161, Rarity.MYTHIC, mage.cards.o.Omniscience.class));
cards.add(new SetCardInfo("Pacifism", 501, Rarity.COMMON, mage.cards.p.Pacifism.class));
cards.add(new SetCardInfo("Plains", 273, Rarity.LAND, mage.cards.basiclands.Plains.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Prideful Parent", 21, Rarity.COMMON, mage.cards.p.PridefulParent.class));
cards.add(new SetCardInfo("Savannah Lions", 146, Rarity.UNCOMMON, mage.cards.s.SavannahLions.class));
cards.add(new SetCardInfo("Stromkirk Bloodthief", 185, Rarity.UNCOMMON, mage.cards.s.StromkirkBloodthief.class));
cards.add(new SetCardInfo("Swamp", 277, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS));
Expand Down

0 comments on commit c0c538b

Please sign in to comment.