[J22] Implement Giant Ladybug

This commit is contained in:
Evan Kranzler 2022-11-24 08:38:50 -05:00
parent 06c53731c4
commit 4854f648bb
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,45 @@
package mage.cards.g;
import mage.MageInt;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.effects.common.search.SearchLibraryPutOnLibraryEffect;
import mage.abilities.keyword.ReachAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.filter.StaticFilters;
import mage.target.common.TargetCardInLibrary;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class GiantLadybug extends CardImpl {
public GiantLadybug(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}");
this.subtype.add(SubType.INSECT);
this.power = new MageInt(4);
this.toughness = new MageInt(1);
// Reach
this.addAbility(ReachAbility.getInstance());
// When Giant Ladybug enters the battlefield, you may search your library for a basic land card, reveal it, then shuffle and put that card on top.
this.addAbility(new EntersBattlefieldTriggeredAbility(new SearchLibraryPutOnLibraryEffect(
new TargetCardInLibrary(StaticFilters.FILTER_CARD_BASIC_LAND_A), true, true
), true));
}
private GiantLadybug(final GiantLadybug card) {
super(card);
}
@Override
public GiantLadybug copy() {
return new GiantLadybug(this);
}
}

View file

@ -47,6 +47,7 @@ public final class Jumpstart2022 extends ExpansionSet {
cards.add(new SetCardInfo("Felidar Retreat", 184, Rarity.RARE, mage.cards.f.FelidarRetreat.class));
cards.add(new SetCardInfo("Festering Evil", 119, Rarity.UNCOMMON, mage.cards.f.FesteringEvil.class));
cards.add(new SetCardInfo("Flicker of Fate", 56, Rarity.COMMON, mage.cards.f.FlickerOfFate.class));
cards.add(new SetCardInfo("Giant Ladybug", 39, Rarity.COMMON, mage.cards.g.GiantLadybug.class));
cards.add(new SetCardInfo("Infernal Idol", 49, Rarity.COMMON, mage.cards.i.InfernalIdol.class));
cards.add(new SetCardInfo("Isu the Abominable", 12, Rarity.MYTHIC, mage.cards.i.IsuTheAbominable.class));
cards.add(new SetCardInfo("Karn Liberated", 97, Rarity.MYTHIC, mage.cards.k.KarnLiberated.class));