[Y22] Implemented Ishkanah, Broodmother

This commit is contained in:
Evan Kranzler 2022-03-01 18:04:00 -05:00
parent a7fa431d19
commit f486f2de22
2 changed files with 86 additions and 0 deletions

View file

@ -0,0 +1,85 @@
package mage.cards.i;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.costs.common.ExileFromGraveCost;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.DraftFromSpellbookEffect;
import mage.abilities.effects.common.continuous.BoostControlledEffect;
import mage.abilities.keyword.ReachAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.SubType;
import mage.constants.SuperType;
import mage.filter.StaticFilters;
import mage.filter.common.FilterCreaturePermanent;
import mage.target.common.TargetCardInYourGraveyard;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class IshkanahBroodmother extends CardImpl {
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent(SubType.SPIDER, "Spiders");
private static final List<String> spellbook = Collections.unmodifiableList(Arrays.asList(
"Arachnoform",
"Brood Weaver",
"Drider",
// "Glowstone Recluse", mutate card
"Gnottvold Recluse",
"Hatchery Spider",
"Mammoth Spider",
"Netcaster Spider",
"Prey Upon",
"Sentinel Spider",
"Snarespinner",
"Spider Spawning",
"Spidery Grasp",
"Sporecap Spider",
"Twin-Silk Spider"
));
public IshkanahBroodmother(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{G}");
this.addSuperType(SuperType.LEGENDARY);
this.subtype.add(SubType.SPIDER);
this.power = new MageInt(3);
this.toughness = new MageInt(5);
// Reach
this.addAbility(ReachAbility.getInstance());
// Other Spiders you control get +1/+2.
this.addAbility(new SimpleStaticAbility(new BoostControlledEffect(
1, 2, Duration.WhileOnBattlefield, filter, true
)));
// {1}{B/G}, Exile two cards from your graveyard: Draft a card from Ishkanah, Broodmother's spellbook.
Ability ability = new SimpleActivatedAbility(
new DraftFromSpellbookEffect(spellbook), new ManaCostsImpl<>("{1}{B/G}")
);
ability.addCost(new ExileFromGraveCost(new TargetCardInYourGraveyard(
2, StaticFilters.FILTER_CARD_CARDS
)));
this.addAbility(ability);
}
private IshkanahBroodmother(final IshkanahBroodmother card) {
super(card);
}
@Override
public IshkanahBroodmother copy() {
return new IshkanahBroodmother(this);
}
}

View file

@ -22,6 +22,7 @@ public final class AlchemyInnistrad extends ExpansionSet {
cards.add(new SetCardInfo("Cursebound Witch", 24, Rarity.UNCOMMON, mage.cards.c.CurseboundWitch.class));
cards.add(new SetCardInfo("Faithful Disciple", 7, Rarity.UNCOMMON, mage.cards.f.FaithfulDisciple.class));
cards.add(new SetCardInfo("Ishkanah, Broodmother", 52, Rarity.MYTHIC, mage.cards.i.IshkanahBroodmother.class));
cards.add(new SetCardInfo("Key to the Archive", 59, Rarity.RARE, mage.cards.k.KeyToTheArchive.class));
cards.add(new SetCardInfo("Soulstealer Axe", 60, Rarity.UNCOMMON, mage.cards.s.SoulstealerAxe.class));
cards.add(new SetCardInfo("Tireless Angler", 23, Rarity.RARE, mage.cards.t.TirelessAngler.class));