Implemented Hero of the Pride

This commit is contained in:
Evan Kranzler 2020-01-08 18:06:34 -05:00
parent 435fc81148
commit 0e44fbad9a
3 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,42 @@
package mage.cards.h;
import mage.MageInt;
import mage.abilities.effects.common.continuous.BoostControlledEffect;
import mage.abilities.keyword.HeroicAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.SubType;
import mage.filter.StaticFilters;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class HeroOfThePride extends CardImpl {
public HeroOfThePride(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{W}");
this.subtype.add(SubType.CAT);
this.subtype.add(SubType.SOLDIER);
this.power = new MageInt(2);
this.toughness = new MageInt(2);
// Whenever you cast a spell that targets Hero of the Pride, creatures you control get +1/+0 until end of turn.
this.addAbility(new HeroicAbility(new BoostControlledEffect(
1, 0, Duration.EndOfTurn, StaticFilters.FILTER_PERMANENT_CREATURES
), false, false));
}
private HeroOfThePride(final HeroOfThePride card) {
super(card);
}
@Override
public HeroOfThePride copy() {
return new HeroOfThePride(this);
}
}

View file

@ -74,6 +74,7 @@ public final class TherosBeyondDeath extends ExpansionSet {
cards.add(new SetCardInfo("Gray Merchant of Asphodel", 99, Rarity.UNCOMMON, mage.cards.g.GrayMerchantOfAsphodel.class));
cards.add(new SetCardInfo("Haktos the Unscarred", 218, Rarity.RARE, mage.cards.h.HaktosTheUnscarred.class));
cards.add(new SetCardInfo("Heliod, Sun-Crowned", 18, Rarity.MYTHIC, mage.cards.h.HeliodSunCrowned.class));
cards.add(new SetCardInfo("Hero of the Pride", 22, Rarity.COMMON, mage.cards.h.HeroOfThePride.class));
cards.add(new SetCardInfo("Hero of the Winds", 23, Rarity.UNCOMMON, mage.cards.h.HeroOfTheWinds.class));
cards.add(new SetCardInfo("Ichthyomorphosis", 51, Rarity.COMMON, mage.cards.i.Ichthyomorphosis.class));
cards.add(new SetCardInfo("Idyllic Tutor", 24, Rarity.RARE, mage.cards.i.IdyllicTutor.class));

View file

@ -36444,6 +36444,7 @@ Daxos, Blessed by the Sun|Theros Beyond Death|9|U|{W}{W}|Legendary Enchantment C
Eidolon of Obstruction|Theros Beyond Death|12|R|{1}{W}|Enchantment Creature - Spirit|2|1|First strike$Loyalty abilities of planeswalkers your opponents control costs {1} more to activate.|
Elspeth, Sun's Nemesis|Theros Beyond Death|14|M|{2}{W}{W}|Legendary Planeswalker - Elspeth|5|1: Up to two target creatures you control each get +2/+1 until end of turn.$2: Create two 1/1 white Human Soldier creature tokens.$3: You gain 5 life.$Escape—{4}{W}{W}, Exile four other cards from your graveyard.|
Heliod, Sun-Crowned|Theros Beyond Death|18|M|{2}{W}|Legendary Enchantment Creature - God|5|5|Indestructible$As long as your devotion to white is less than five, Heliod isn't a creature.$Whenever you gain life, put a +1/+1 counter on target creature or enchantment you control.${1}{W}: Another target creature gains lifelink until end of turn.|
Hero of the Pride|Theros Beyond Death|22|C|{1}{W}|Creature - Cat Soldier|2|2|Whenever you cast a spell that targets Hero of the Pride, creatures you control get +1/+0 until end of turn.|
Hero of the Winds|Theros Beyond Death|23|U|{3}{W}|Creature - Human Soldier|1|4|Flying$Whenever you cast a spell that targets Hero of the Winds, creatures you control get +1/+0 until end of turn.|
Idyllic Tutor|Theros Beyond Death|24|R|{2}{W}|Sorcery|||Search your library for an enchantment card, reveal it, and put it into your hand. Then shuffle your library.|
Indomitable Will|Theros Beyond Death|25|C|{1}{W}|Enchantment - Aura|||Flash$Enchant creature$Enchanted creature gets +1/+2.|