forked from External/mage
[EOC] Implement Horizon Explorer
This commit is contained in:
parent
69900a6406
commit
009a2b3054
2 changed files with 51 additions and 0 deletions
49
Mage.Sets/src/mage/cards/h/HorizonExplorer.java
Normal file
49
Mage.Sets/src/mage/cards/h/HorizonExplorer.java
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
package mage.cards.h;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.AttacksPlayerWithCreaturesTriggeredAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.EnterUntappedAllEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SetTargetPointer;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.game.permanent.token.LanderToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class HorizonExplorer extends CardImpl {
|
||||
|
||||
public HorizonExplorer(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}");
|
||||
|
||||
this.subtype.add(SubType.INSECT);
|
||||
this.subtype.add(SubType.SCOUT);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// Lands you control enter untapped.
|
||||
this.addAbility(new SimpleStaticAbility(new EnterUntappedAllEffect(StaticFilters.FILTER_CONTROLLED_PERMANENT_LANDS)));
|
||||
|
||||
// Whenever you attack a player, create a Lander token.
|
||||
this.addAbility(new AttacksPlayerWithCreaturesTriggeredAbility(
|
||||
new CreateTokenEffect(new LanderToken()),
|
||||
StaticFilters.FILTER_PERMANENT_CREATURE_CONTROLLED, SetTargetPointer.NONE
|
||||
));
|
||||
}
|
||||
|
||||
private HorizonExplorer(final HorizonExplorer card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HorizonExplorer copy() {
|
||||
return new HorizonExplorer(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -50,6 +50,8 @@ public final class EdgeOfEternitiesCommander extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Hammer of Purphoros", 88, Rarity.RARE, mage.cards.h.HammerOfPurphoros.class));
|
||||
cards.add(new SetCardInfo("Harrow", 98, Rarity.COMMON, mage.cards.h.Harrow.class));
|
||||
cards.add(new SetCardInfo("Hearthhull, the Worldseed", 1, Rarity.MYTHIC, mage.cards.h.HearthhullTheWorldseed.class));
|
||||
cards.add(new SetCardInfo("Horizon Explorer", 15, Rarity.RARE, mage.cards.h.HorizonExplorer.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Horizon Explorer", 35, Rarity.RARE, mage.cards.h.HorizonExplorer.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Infernal Grasp", 84, Rarity.UNCOMMON, mage.cards.i.InfernalGrasp.class));
|
||||
cards.add(new SetCardInfo("Inspirit, Flagship Vessel", 2, Rarity.MYTHIC, mage.cards.i.InspiritFlagshipVessel.class));
|
||||
cards.add(new SetCardInfo("Juri, Master of the Revue", 119, Rarity.UNCOMMON, mage.cards.j.JuriMasterOfTheRevue.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue