From 3e8dbbd89409143d1a472bbdf11c56343ba47f1e Mon Sep 17 00:00:00 2001 From: Oleg Agafonov Date: Sun, 19 Apr 2020 23:42:53 +0400 Subject: [PATCH] * Range Trooper - fixed wrong text; --- Mage.Sets/src/mage/cards/r/RangeTrooper.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Mage.Sets/src/mage/cards/r/RangeTrooper.java b/Mage.Sets/src/mage/cards/r/RangeTrooper.java index d3606f0131c..8df614a2d1c 100644 --- a/Mage.Sets/src/mage/cards/r/RangeTrooper.java +++ b/Mage.Sets/src/mage/cards/r/RangeTrooper.java @@ -1,6 +1,5 @@ package mage.cards.r; -import java.util.UUID; import mage.MageInt; import mage.MageObject; import mage.abilities.Ability; @@ -11,22 +10,23 @@ import mage.abilities.effects.Effect; import mage.abilities.effects.OneShotEffect; import mage.abilities.effects.common.ReturnToBattlefieldUnderOwnerControlTargetEffect; import mage.abilities.effects.common.continuous.GainAbilityControlledEffect; -import mage.constants.*; import mage.cards.CardImpl; import mage.cards.CardSetInfo; +import mage.constants.*; import mage.filter.common.FilterControlledCreaturePermanent; import mage.game.Game; import mage.game.permanent.Permanent; import mage.target.common.TargetCreaturePermanent; import mage.target.targetpointer.FixedTarget; +import java.util.UUID; + /** - * * @author NinthWorld */ public final class RangeTrooper extends CardImpl { - private static final FilterControlledCreaturePermanent filter = new FilterControlledCreaturePermanent("Trooper creatures you control"); + private static final FilterControlledCreaturePermanent filter = new FilterControlledCreaturePermanent("Trooper creatures"); static { filter.add(SubType.TROOPER.getPredicate()); @@ -34,14 +34,14 @@ public final class RangeTrooper extends CardImpl { public RangeTrooper(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{W}"); - + this.subtype.add(SubType.HUMAN); this.subtype.add(SubType.TROOPER); this.power = new MageInt(2); this.toughness = new MageInt(2); // Trooper creatures you control have "When this creature enters that battlefield, you may exile target creature. Return that creature to the battlefield at the beginning of the next end step." - Ability ability = new EntersBattlefieldTriggeredAbility(new RangeTrooperEffect(), true, true); + Ability ability = new EntersBattlefieldTriggeredAbility(new RangeTrooperEffect(), true, false); ability.addTarget(new TargetCreaturePermanent()); this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityControlledEffect(ability, Duration.WhileOnBattlefield, filter, false))); @@ -61,7 +61,7 @@ class RangeTrooperEffect extends OneShotEffect { public RangeTrooperEffect() { super(Outcome.Detriment); - staticText = "When this creature enters the battlefield, you may exile target creature. Return that creature to the battlefield at the beginning of the next end step"; + staticText = "exile target creature. Return that creature to the battlefield at the beginning of the next end step"; } public RangeTrooperEffect(final RangeTrooperEffect effect) {