diff --git a/Mage.Sets/src/mage/cards/h/HarvestriteHost.java b/Mage.Sets/src/mage/cards/h/HarvestriteHost.java new file mode 100644 index 00000000000..d649e001aa7 --- /dev/null +++ b/Mage.Sets/src/mage/cards/h/HarvestriteHost.java @@ -0,0 +1,52 @@ +package mage.cards.h; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.EntersBattlefieldThisOrAnotherTriggeredAbility; +import mage.abilities.effects.common.DrawCardSourceControllerEffect; +import mage.abilities.effects.common.IfAbilityHasResolvedXTimesEffect; +import mage.abilities.effects.common.continuous.BoostTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.filter.FilterPermanent; +import mage.target.common.TargetControlledCreaturePermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class HarvestriteHost extends CardImpl { + + private static final FilterPermanent filter = new FilterPermanent(SubType.RABBIT, "Rabbit"); + + public HarvestriteHost(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{W}"); + + this.subtype.add(SubType.RABBIT); + this.subtype.add(SubType.CITIZEN); + this.power = new MageInt(3); + this.toughness = new MageInt(3); + + // Whenever Harvestrite Host or another Rabbit you control enters, target creature you control gets +1/+0 until end of turn. Then draw a card if this is the second time this ability has resolved this turn. + Ability ability = new EntersBattlefieldThisOrAnotherTriggeredAbility( + new BoostTargetEffect(1, 0), filter, false, true + ); + ability.addEffect(new IfAbilityHasResolvedXTimesEffect( + 2, new DrawCardSourceControllerEffect(1) + )); + ability.addTarget(new TargetControlledCreaturePermanent()); + this.addAbility(ability); + } + + private HarvestriteHost(final HarvestriteHost card) { + super(card); + } + + @Override + public HarvestriteHost copy() { + return new HarvestriteHost(this); + } +} diff --git a/Mage.Sets/src/mage/sets/Bloomburrow.java b/Mage.Sets/src/mage/sets/Bloomburrow.java index c172431eca8..91f51d3ba9e 100644 --- a/Mage.Sets/src/mage/sets/Bloomburrow.java +++ b/Mage.Sets/src/mage/sets/Bloomburrow.java @@ -53,6 +53,7 @@ public final class Bloomburrow extends ExpansionSet { cards.add(new SetCardInfo("Forest", 278, Rarity.LAND, mage.cards.basiclands.Forest.class, FULL_ART_BFZ_VARIOUS)); cards.add(new SetCardInfo("Galewind Moose", 173, Rarity.UNCOMMON, mage.cards.g.GalewindMoose.class)); cards.add(new SetCardInfo("Harnesser of Storms", 137, Rarity.UNCOMMON, mage.cards.h.HarnesserOfStorms.class)); + cards.add(new SetCardInfo("Harvestrite Host", 15, Rarity.UNCOMMON, mage.cards.h.HarvestriteHost.class)); cards.add(new SetCardInfo("Head of the Homestead", 216, Rarity.COMMON, mage.cards.h.HeadOfTheHomestead.class)); cards.add(new SetCardInfo("Hearthborn Battler", 139, Rarity.RARE, mage.cards.h.HearthbornBattler.class)); cards.add(new SetCardInfo("Hidden Grotto", 254, Rarity.COMMON, mage.cards.h.HiddenGrotto.class)); diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index 441abb134af..63dbc9cfc2a 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -53081,6 +53081,7 @@ Dewdrop Cure|Bloomburrow|10|U|{2}{W}|Sorcery|||Gift a card$Return up to two targ Driftgloom Coyote|Bloomburrow|11|U|{3}{W}{W}|Creature - Elemental Coyote|3|4|When Driftgloom Coyote enters, exile target creature an opponent controls until Driftgloom Coyote leaves the battlefield. If that creature had power 2 or less, put a +1/+1 counter on Driftgloom Coyote.| Feather of Flight|Bloomburrow|13|U|{1}{W}|Enchantment - Aura|||Flash$Enchant creature$When Feather of Flight enters, draw a card.$Enchanted creature gets +1/+0 and has flying.| Flowerfoot Swordmaster|Bloomburrow|14|U|{W}|Creature - Mouse Soldier|1|2|Offspring {2}$Valiant -- Whenever this creature becomes the target of a spell or ability you control for the first time each turn, Mice you control get +1/+0 until end of turn.| +Harvestrite Host|Bloomburrow|15|U|{2}{W}|Creature - Rabbit Citizen|3|3|Whenever Harvestrite Host or another Rabbit you control enters, target creature you control gets +1/+0 until end of turn. Then draw a card if this is the second time this ability has resolved this turn.| Hop to It|Bloomburrow|16|U|{2}{W}|Sorcery|||Create three 1/1 white Rabbit creature tokens.| Lifecreed Duo|Bloomburrow|20|C|{1}{W}|Creature - Bat Bird|1|2|Flying$Whenever another creature you control enters, you gain 1 life.| Mabel's Mettle|Bloomburrow|21|U|{1}{W}|Instant|||Target creature gets +2/+2 until end of turn. Up to one other target creature gets +1/+1 until end of turn.|