[BLB] Implement Head of the Homestead

This commit is contained in:
theelk801 2024-07-09 16:42:44 -04:00
parent 573341b2cb
commit d70cd5f0d1
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,39 @@
package mage.cards.h;
import mage.MageInt;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.game.permanent.token.RabbitToken;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class HeadOfTheHomestead extends CardImpl {
public HeadOfTheHomestead(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{G/W}{G/W}");
this.subtype.add(SubType.RABBIT);
this.subtype.add(SubType.CITIZEN);
this.power = new MageInt(3);
this.toughness = new MageInt(2);
// When Head of the Homestead enters, create two 1/1 white Rabbit creature tokens.
this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new RabbitToken(), 2)));
}
private HeadOfTheHomestead(final HeadOfTheHomestead card) {
super(card);
}
@Override
public HeadOfTheHomestead copy() {
return new HeadOfTheHomestead(this);
}
}

View file

@ -26,6 +26,7 @@ public final class Bloomburrow extends ExpansionSet {
cards.add(new SetCardInfo("Carrot Cake", 7, Rarity.COMMON, mage.cards.c.CarrotCake.class));
cards.add(new SetCardInfo("Early Winter", 93, Rarity.COMMON, mage.cards.e.EarlyWinter.class));
cards.add(new SetCardInfo("Forest", 278, Rarity.LAND, mage.cards.basiclands.Forest.class, FULL_ART_BFZ_VARIOUS));
cards.add(new SetCardInfo("Head of the Homestead", 216, Rarity.COMMON, mage.cards.h.HeadOfTheHomestead.class));
cards.add(new SetCardInfo("Hop to It", 16, Rarity.UNCOMMON, mage.cards.h.HopToIt.class));
cards.add(new SetCardInfo("Hugs, Grisly Guardian", 218, Rarity.MYTHIC, mage.cards.h.HugsGrislyGuardian.class));
cards.add(new SetCardInfo("Island", 266, Rarity.LAND, mage.cards.basiclands.Island.class, FULL_ART_BFZ_VARIOUS));