Fix some DOM card text

This commit is contained in:
Plopman 2018-04-23 22:42:41 +02:00
parent 9a47d13e3e
commit a5fc4d0741
7 changed files with 90 additions and 90 deletions

View file

@ -119,6 +119,6 @@ class HallarTheFirefletcherTriggeredAbility extends TriggeredAbilityImpl {
@Override @Override
public String getRule() { public String getRule() {
return "Whenever you cast a spell, if it was kicked," + super.getRule(); return "Whenever you cast a spell, if that spell was kicked," + super.getRule();
} }
} }

View file

@ -83,7 +83,7 @@ class HelmOfTheHostEffect extends OneShotEffect {
public HelmOfTheHostEffect() { public HelmOfTheHostEffect() {
super(Outcome.PutCreatureInPlay); super(Outcome.PutCreatureInPlay);
this.staticText = "create a token thats a copy of equipped creature, except the token isnt legendary if equipped creature is legendary. That token gains haste."; this.staticText = "create a token that's a copy of equipped creature, except the token isn't legendary if equipped creature is legendary. That token gains haste.";
} }
public HelmOfTheHostEffect(final HelmOfTheHostEffect effect) { public HelmOfTheHostEffect(final HelmOfTheHostEffect effect) {

View file

@ -49,8 +49,8 @@ public class MoxAmber extends CardImpl {
super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{0}"); super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{0}");
addSuperType(SuperType.LEGENDARY); addSuperType(SuperType.LEGENDARY);
// {tap}: Add one mana pool of any color among legendary creatures or planeswalkers you control. // {tap}: Add one mana pool of any color among legendary creatures and planeswalkers you control.
FilterPermanent filter = new FilterPermanent("legendary creatures or planeswalkers"); FilterPermanent filter = new FilterPermanent("legendary creatures and planeswalkers");
filter.add(Predicates.or( filter.add(Predicates.or(
Predicates.and( Predicates.and(
new CardTypePredicate(CardType.CREATURE), new CardTypePredicate(CardType.CREATURE),

View file

@ -50,7 +50,7 @@ import mage.filter.predicate.permanent.AnotherPredicate;
*/ */
public class RatColony extends CardImpl { public class RatColony extends CardImpl {
private static final FilterControlledCreaturePermanent filter = new FilterControlledCreaturePermanent(); private static final FilterControlledCreaturePermanent filter = new FilterControlledCreaturePermanent("other Rat you control");
static { static {
filter.add(new SubtypePredicate(SubType.RAT)); filter.add(new SubtypePredicate(SubType.RAT));

View file

@ -36,6 +36,7 @@ import mage.constants.CardType;
import mage.constants.SubType; import mage.constants.SubType;
import mage.target.Target; import mage.target.Target;
import mage.target.common.TargetCreaturePermanent; import mage.target.common.TargetCreaturePermanent;
import static mage.filter.StaticFilters.FILTER_PERMANENT_CREATURES;
import java.util.UUID; import java.util.UUID;
@ -51,8 +52,7 @@ public class TerashisCry extends CardImpl {
// Tap up to three target creatures. // Tap up to three target creatures.
Target target = new TargetCreaturePermanent(0, 3); Target target = new TargetCreaturePermanent(0, 3, FILTER_PERMANENT_CREATURES, false);
target.setTargetName("up to three");
this.getSpellAbility().addEffect(new TapTargetEffect()); this.getSpellAbility().addEffect(new TapTargetEffect());
this.getSpellAbility().addTarget(target); this.getSpellAbility().addTarget(target);
} }

View file

@ -1,81 +1,81 @@
/* /*
* Copyright 2010 BetaSteward_at_googlemail.com. All rights reserved. * Copyright 2010 BetaSteward_at_googlemail.com. All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without modification, are * Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met: * permitted provided that the following conditions are met:
* *
* 1. Redistributions of source code must retain the above copyright notice, this list of * 1. Redistributions of source code must retain the above copyright notice, this list of
* conditions and the following disclaimer. * conditions and the following disclaimer.
* *
* 2. Redistributions in binary form must reproduce the above copyright notice, this list * 2. Redistributions in binary form must reproduce the above copyright notice, this list
* of conditions and the following disclaimer in the documentation and/or other materials * of conditions and the following disclaimer in the documentation and/or other materials
* provided with the distribution. * provided with the distribution.
* *
* THIS SOFTWARE IS PROVIDED BY BetaSteward_at_googlemail.com ``AS IS'' AND ANY EXPRESS OR IMPLIED * THIS SOFTWARE IS PROVIDED BY BetaSteward_at_googlemail.com ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BetaSteward_at_googlemail.com OR * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BetaSteward_at_googlemail.com OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* *
* The views and conclusions contained in the software and documentation are those of the * The views and conclusions contained in the software and documentation are those of the
* authors and should not be interpreted as representing official policies, either expressed * authors and should not be interpreted as representing official policies, either expressed
* or implied, of BetaSteward_at_googlemail.com. * or implied, of BetaSteward_at_googlemail.com.
*/ */
package mage.cards.z; package mage.cards.z;
import java.util.UUID; import java.util.UUID;
import mage.MageInt; import mage.MageInt;
import mage.abilities.costs.AlternativeCostSourceAbility; import mage.abilities.costs.AlternativeCostSourceAbility;
import mage.abilities.costs.common.TapTargetCost; import mage.abilities.costs.common.TapTargetCost;
import mage.abilities.costs.mana.ManaCostsImpl; import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.keyword.FlyingAbility; import mage.abilities.keyword.FlyingAbility;
import mage.cards.CardImpl; import mage.cards.CardImpl;
import mage.cards.CardSetInfo; import mage.cards.CardSetInfo;
import mage.constants.CardType; import mage.constants.CardType;
import mage.constants.SubType; import mage.constants.SubType;
import mage.constants.SuperType; import mage.constants.SuperType;
import mage.filter.common.FilterControlledArtifactPermanent; import mage.filter.common.FilterControlledArtifactPermanent;
import mage.filter.predicate.Predicates; import mage.filter.predicate.Predicates;
import mage.filter.predicate.permanent.TappedPredicate; import mage.filter.predicate.permanent.TappedPredicate;
import mage.target.common.TargetControlledPermanent; import mage.target.common.TargetControlledPermanent;
/** /**
* *
* @author LevelX2 * @author LevelX2
*/ */
public class ZahidDjinnOfTheLamp extends CardImpl { public class ZahidDjinnOfTheLamp extends CardImpl {
public ZahidDjinnOfTheLamp(UUID ownerId, CardSetInfo setInfo) { public ZahidDjinnOfTheLamp(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{U}{U}"); super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{U}{U}");
this.addSuperType(SuperType.LEGENDARY); this.addSuperType(SuperType.LEGENDARY);
this.subtype.add(SubType.DJINN); this.subtype.add(SubType.DJINN);
this.power = new MageInt(5); this.power = new MageInt(5);
this.toughness = new MageInt(6); this.toughness = new MageInt(6);
// You may pay {3}{U} and tap an untapped artifact you control rather than pay this spell's mana cost. // You may pay {3}{U} and tap an untapped artifact you control rather than pay this spell's mana cost.
AlternativeCostSourceAbility alternativeCostSourceAbility = new AlternativeCostSourceAbility(new ManaCostsImpl("{3}{U}"), null, AlternativeCostSourceAbility alternativeCostSourceAbility = new AlternativeCostSourceAbility(new ManaCostsImpl("{3}{U}"), null,
"You may pay {3}{U} and tap an untapped artifact you control rather than pay this spell's mana cost."); "You may pay {3}{U} and tap an untapped artifact you control rather than pay this spell's mana cost.");
FilterControlledArtifactPermanent filter = new FilterControlledArtifactPermanent("untapped artifact you control"); FilterControlledArtifactPermanent filter = new FilterControlledArtifactPermanent("untapped artifact you control");
filter.add(Predicates.not(new TappedPredicate())); filter.add(Predicates.not(new TappedPredicate()));
alternativeCostSourceAbility.addCost(new TapTargetCost(new TargetControlledPermanent(filter))); alternativeCostSourceAbility.addCost(new TapTargetCost(new TargetControlledPermanent(filter)));
this.addAbility(alternativeCostSourceAbility); this.addAbility(alternativeCostSourceAbility);
// Flying // Flying
this.addAbility(FlyingAbility.getInstance()); this.addAbility(FlyingAbility.getInstance());
} }
public ZahidDjinnOfTheLamp(final ZahidDjinnOfTheLamp card) { public ZahidDjinnOfTheLamp(final ZahidDjinnOfTheLamp card) {
super(card); super(card);
} }
@Override @Override
public ZahidDjinnOfTheLamp copy() { public ZahidDjinnOfTheLamp copy() {
return new ZahidDjinnOfTheLamp(this); return new ZahidDjinnOfTheLamp(this);
} }
} }

View file

@ -272,7 +272,7 @@ public class LookLibraryAndPickControllerEffect extends LookLibraryControllerEff
if (anyOrder) { if (anyOrder) {
sb.append(" in any order"); sb.append(" in any order");
} else { } else {
sb.append(" in random order"); sb.append(" in a random order");
} }
break; break;
case HAND: case HAND:
@ -342,7 +342,7 @@ public class LookLibraryAndPickControllerEffect extends LookLibraryControllerEff
if (anyOrder) { if (anyOrder) {
sb.append("any"); sb.append("any");
} else { } else {
sb.append("random"); sb.append("a random");
} }
sb.append(" order"); sb.append(" order");
} else if (targetZoneLookedCards == Zone.GRAVEYARD) { } else if (targetZoneLookedCards == Zone.GRAVEYARD) {