mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
[YMID] Implement Toralf's Disciple
This commit is contained in:
parent
f5e0d94cac
commit
be84dbaa0f
4 changed files with 52 additions and 0 deletions
49
Mage.Sets/src/mage/cards/t/ToralfsDisciple.java
Normal file
49
Mage.Sets/src/mage/cards/t/ToralfsDisciple.java
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
package mage.cards.t;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.AttacksTriggeredAbility;
|
||||
import mage.abilities.effects.common.ConjureCardEffect;
|
||||
import mage.abilities.effects.common.ShuffleLibrarySourceEffect;
|
||||
import mage.abilities.keyword.HasteAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.Zone;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ToralfsDisciple extends CardImpl {
|
||||
|
||||
public ToralfsDisciple(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{R}");
|
||||
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.WARRIOR);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Haste
|
||||
this.addAbility(HasteAbility.getInstance());
|
||||
|
||||
// Whenever Toralf's Disciple attacks, conjure four cards named Lightning Bolt into your library, then shuffle.
|
||||
Ability ability = new AttacksTriggeredAbility(new ConjureCardEffect(
|
||||
"Lightning Bolt", Zone.LIBRARY, 4
|
||||
));
|
||||
ability.addEffect(new ShuffleLibrarySourceEffect().setText(", then shuffle"));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private ToralfsDisciple(final ToralfsDisciple card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ToralfsDisciple copy() {
|
||||
return new ToralfsDisciple(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -32,5 +32,6 @@ public final class AlchemyInnistrad extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Soulstealer Axe", 60, Rarity.UNCOMMON, mage.cards.s.SoulstealerAxe.class));
|
||||
cards.add(new SetCardInfo("Suntail Squadron", 11, Rarity.RARE, mage.cards.s.SuntailSquadron.class));
|
||||
cards.add(new SetCardInfo("Tireless Angler", 23, Rarity.RARE, mage.cards.t.TirelessAngler.class));
|
||||
cards.add(new SetCardInfo("Toralf's Disciple", 44, Rarity.RARE, mage.cards.t.ToralfsDisciple.class));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -249,6 +249,7 @@ public class MysteryBooster2 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Tinder Wall", 215, Rarity.COMMON, mage.cards.t.TinderWall.class));
|
||||
cards.add(new SetCardInfo("Tinker", 176, Rarity.UNCOMMON, mage.cards.t.Tinker.class));
|
||||
cards.add(new SetCardInfo("Titania, Protector of Argoth", 249, Rarity.MYTHIC, mage.cards.t.TitaniaProtectorOfArgoth.class));
|
||||
cards.add(new SetCardInfo("Toralf's Disciple", 261, Rarity.UNCOMMON, mage.cards.t.ToralfsDisciple.class));
|
||||
cards.add(new SetCardInfo("Tormod's Crypt", 235, Rarity.UNCOMMON, mage.cards.t.TormodsCrypt.class));
|
||||
cards.add(new SetCardInfo("Torpor Orb", 236, Rarity.RARE, mage.cards.t.TorporOrb.class));
|
||||
cards.add(new SetCardInfo("Tower of the Magistrate", 242, Rarity.RARE, mage.cards.t.TowerOfTheMagistrate.class));
|
||||
|
|
|
|||
|
|
@ -88,6 +88,7 @@ public class ConjureCardEffect extends OneShotEffect {
|
|||
switch (zone) {
|
||||
case HAND:
|
||||
case GRAVEYARD:
|
||||
case LIBRARY:
|
||||
sb.append("into your");
|
||||
break;
|
||||
case BATTLEFIELD:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue