mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
[Y22] Implemented Tireless Angler
This commit is contained in:
parent
173b708650
commit
07043c393c
2 changed files with 73 additions and 0 deletions
72
Mage.Sets/src/mage/cards/t/TirelessAngler.java
Normal file
72
Mage.Sets/src/mage/cards/t/TirelessAngler.java
Normal file
|
@ -0,0 +1,72 @@
|
|||
package mage.cards.t;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.EntersBattlefieldControlledTriggeredAbility;
|
||||
import mage.abilities.effects.common.DraftFromSpellbookEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.predicate.Predicates;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class TirelessAngler extends CardImpl {
|
||||
|
||||
private static final FilterPermanent filter = new FilterPermanent("an Island or Swamp");
|
||||
|
||||
static {
|
||||
filter.add(Predicates.or(
|
||||
SubType.ISLAND.getPredicate(),
|
||||
SubType.SWAMP.getPredicate()
|
||||
));
|
||||
}
|
||||
|
||||
private static final List<String> spellbook = Collections.unmodifiableList(Arrays.asList(
|
||||
// "Archipelagore", mutate card
|
||||
"Fleet Swallower",
|
||||
"Moat Piranhas",
|
||||
"Mystic Skyfish",
|
||||
"Nadir Kraken",
|
||||
// "Pouncing Shoreshark", mutate card
|
||||
"Riptide Turtle",
|
||||
"Ruin Crab",
|
||||
// "Sea-Dasher Octopus", mutate card
|
||||
"Serpent of Yawning Depths",
|
||||
"Sigiled Starfish",
|
||||
"Spined Megalodon",
|
||||
"Stinging Lionfish",
|
||||
"Voracious Greatshark",
|
||||
"Wormhole Serpent"
|
||||
));
|
||||
|
||||
public TirelessAngler(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{U}");
|
||||
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.ROGUE);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// Whenever an Island or Swamp enters the battlefield under your control, draft a card from Tireless Angler's spellbook.
|
||||
this.addAbility(new EntersBattlefieldControlledTriggeredAbility(
|
||||
new DraftFromSpellbookEffect(spellbook), filter
|
||||
));
|
||||
}
|
||||
|
||||
private TirelessAngler(final TirelessAngler card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TirelessAngler copy() {
|
||||
return new TirelessAngler(this);
|
||||
}
|
||||
}
|
|
@ -23,5 +23,6 @@ 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("Key to the Archive", 59, Rarity.RARE, mage.cards.k.KeyToTheArchive.class));
|
||||
cards.add(new SetCardInfo("Tireless Angler", 23, Rarity.RARE, mage.cards.t.TirelessAngler.class));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue