locus subtype

This commit is contained in:
igoudt 2017-07-25 23:14:31 +02:00
parent 3d555059f0
commit ddda590427
2 changed files with 6 additions and 4 deletions

View file

@ -27,7 +27,6 @@
*/ */
package mage.cards.c; package mage.cards.c;
import java.util.UUID;
import mage.Mana; import mage.Mana;
import mage.abilities.common.EntersBattlefieldTappedAbility; import mage.abilities.common.EntersBattlefieldTappedAbility;
import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount; import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
@ -39,6 +38,8 @@ import mage.constants.SubType;
import mage.filter.common.FilterLandPermanent; import mage.filter.common.FilterLandPermanent;
import mage.filter.predicate.mageobject.SubtypePredicate; import mage.filter.predicate.mageobject.SubtypePredicate;
import java.util.UUID;
/** /**
* *
* @author jonubuu * @author jonubuu
@ -53,7 +54,7 @@ public class Cloudpost extends CardImpl {
public Cloudpost(UUID ownerId, CardSetInfo setInfo) { public Cloudpost(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.LAND},""); super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
this.subtype.add("Locus"); this.subtype.add(SubType.LOCUS);
// Cloudpost enters the battlefield tapped. // Cloudpost enters the battlefield tapped.
this.addAbility(new EntersBattlefieldTappedAbility()); this.addAbility(new EntersBattlefieldTappedAbility());

View file

@ -28,7 +28,6 @@
package mage.cards.g; package mage.cards.g;
import java.util.UUID;
import mage.abilities.Ability; import mage.abilities.Ability;
import mage.abilities.common.EntersBattlefieldTriggeredAbility; import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.effects.OneShotEffect; import mage.abilities.effects.OneShotEffect;
@ -43,6 +42,8 @@ import mage.filter.predicate.mageobject.SubtypePredicate;
import mage.game.Game; import mage.game.Game;
import mage.players.Player; import mage.players.Player;
import java.util.UUID;
/** /**
* *
* @author Loki * @author Loki
@ -51,7 +52,7 @@ public class Glimmerpost extends CardImpl {
public Glimmerpost (UUID ownerId, CardSetInfo setInfo) { public Glimmerpost (UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.LAND},null); super(ownerId,setInfo,new CardType[]{CardType.LAND},null);
this.subtype.add("Locus"); this.subtype.add(SubType.LOCUS);
// When Glimmerpost enters the battlefield, you gain 1 life for each Locus on the battlefield. // When Glimmerpost enters the battlefield, you gain 1 life for each Locus on the battlefield.
this.addAbility(new EntersBattlefieldTriggeredAbility(new GlimmerpostEffect())); this.addAbility(new EntersBattlefieldTriggeredAbility(new GlimmerpostEffect()));