mirror of
https://github.com/correl/mage.git
synced 2025-03-29 11:43:34 -09:00
[MH2] Implemented Step Through
This commit is contained in:
parent
c83c4caa7c
commit
bbb405242e
2 changed files with 46 additions and 0 deletions
Mage.Sets/src/mage
45
Mage.Sets/src/mage/cards/s/StepThrough.java
Normal file
45
Mage.Sets/src/mage/cards/s/StepThrough.java
Normal file
|
@ -0,0 +1,45 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.abilities.costs.mana.GenericManaCost;
|
||||
import mage.abilities.effects.common.ReturnToHandTargetEffect;
|
||||
import mage.abilities.keyword.CyclingAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.FilterCard;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class StepThrough extends CardImpl {
|
||||
|
||||
private static final FilterCard filter = new FilterCard("Wizard");
|
||||
|
||||
static {
|
||||
filter.add(SubType.WIZARD.getPredicate());
|
||||
}
|
||||
|
||||
public StepThrough(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{U}{U}");
|
||||
|
||||
// Return two target creatures to their owners' hands.
|
||||
this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(2));
|
||||
|
||||
// Wizardcycling {2}
|
||||
this.addAbility(new CyclingAbility(new GenericManaCost(2), filter, "Wizardcycling"));
|
||||
}
|
||||
|
||||
private StepThrough(final StepThrough card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public StepThrough copy() {
|
||||
return new StepThrough(this);
|
||||
}
|
||||
}
|
|
@ -91,6 +91,7 @@ public final class ModernHorizons2 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Squirrel Mob", 286, Rarity.RARE, mage.cards.s.SquirrelMob.class));
|
||||
cards.add(new SetCardInfo("Squirrel Sanctuary", 174, Rarity.UNCOMMON, mage.cards.s.SquirrelSanctuary.class));
|
||||
cards.add(new SetCardInfo("Squirrel Sovereign", 175, Rarity.UNCOMMON, mage.cards.s.SquirrelSovereign.class));
|
||||
cards.add(new SetCardInfo("Step Through", 66, Rarity.COMMON, mage.cards.s.StepThrough.class));
|
||||
cards.add(new SetCardInfo("Subtlety", 67, Rarity.MYTHIC, mage.cards.s.Subtlety.class));
|
||||
cards.add(new SetCardInfo("Swamp", 485, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Sylvan Anthem", 176, Rarity.RARE, mage.cards.s.SylvanAnthem.class));
|
||||
|
|
Loading…
Add table
Reference in a new issue