Text fixes

This commit is contained in:
LoneFox 2015-08-19 08:31:01 +03:00
parent 5c047cd92b
commit 7db4a8b09d
7 changed files with 32 additions and 31 deletions

View file

@ -50,7 +50,7 @@ public class SpinIntoMyth extends CardImpl {
this.getSpellAbility().addEffect(new PutOnLibraryTargetEffect(true));
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
Effect effect = new FatesealEffect(2);
effect.setText("then fateseal 2. <i>(To fateseal 2, look at the top two cards of an opponent's library, then put any number of them on the bottom of that player's library and the rest on top in any order.)</i>");
effect.setText(", then fateseal 2. <i>(To fateseal 2, look at the top two cards of an opponent's library, then put any number of them on the bottom of that player's library and the rest on top in any order.)</i>");
this.getSpellAbility().addEffect(effect);
}

View file

@ -31,45 +31,45 @@ import mage.util.CardUtil;
* @author nick.myers
*/
public class CloudKey extends CardImpl {
public CloudKey(UUID ownerId) {
super(ownerId, 160, "Cloud Key", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{3}");
this.expansionSetCode = "FUT";
// As Cloud Key enters the battlefield, choose artifact, creature,
// As Cloud Key enters the battlefield, choose artifact, creature,
// enchantment, instant, or sorcery.
this.addAbility(new AsEntersBattlefieldAbility(new CloudKeyChooseTypeEffect()));
// Spells of the chosen type cost {1} less to cast
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CloudKeyCostModificationEffect()));
}
@Override
public CloudKey copy() {
return new CloudKey(this);
}
public CloudKey(final CloudKey card) {
super(card);
}
}
class CloudKeyChooseTypeEffect extends OneShotEffect {
public CloudKeyChooseTypeEffect() {
super(Outcome.Neutral);
this.staticText = "Choose a spell type";
this.staticText = "choose artifact, creature, enchantment, instant, or sorcery.";
}
public CloudKeyChooseTypeEffect(final CloudKeyChooseTypeEffect effect) {
super(effect);
}
@Override
public CloudKeyChooseTypeEffect copy() {
return new CloudKeyChooseTypeEffect(this);
}
@Override
public boolean apply(Game game, Ability source) {
Player controller = game.getPlayer(source.getControllerId());
@ -90,20 +90,20 @@ class CloudKeyChooseTypeEffect extends OneShotEffect {
}
return false;
}
}
class CloudKeyCostModificationEffect extends CostModificationEffectImpl {
public CloudKeyCostModificationEffect() {
super(Duration.WhileOnBattlefield, Outcome.Benefit, CostModificationType.REDUCE_COST);
this.staticText = "choose artifact, creature, enchantment, instant, or sorcery. Spells of the chosen type cost {1} less to cast.";
this.staticText = "Spells of the chosen type cost {1} less to cast.";
}
public CloudKeyCostModificationEffect(final CloudKeyCostModificationEffect effect) {
super(effect);
}
@Override
public CloudKeyCostModificationEffect copy() {
return new CloudKeyCostModificationEffect(this);
@ -118,15 +118,15 @@ class CloudKeyCostModificationEffect extends CostModificationEffectImpl {
@Override
public boolean applies(Ability abilityToModify, Ability source, Game game) {
if (abilityToModify instanceof SpellAbility && abilityToModify.getControllerId().equals(source.getControllerId())) {
Card card = game.getCard(abilityToModify.getSourceId());
if (card.getCardType().toString().contains((String) game.getState().getValue(source.getSourceId().toString() + "_CloudKey"))) {
if (card.getCardType().toString().contains((String) game.getState().getValue(source.getSourceId().toString() + "_CloudKey"))) {
return true;
}
}
return false;
}
}
}

View file

@ -77,7 +77,7 @@ public class GoldmeadowLookout extends CardImpl {
class GoldmeadowHarrierToken extends Token {
public GoldmeadowHarrierToken() {
super("Goldmeadow Harrier", "1/1 white Kithkin Soldier creature token named Goldmeadow Harrier with \"{W}, {tap}: Tap target creature.\"");
super("Goldmeadow Harrier", "1/1 white Kithkin Soldier creature token named Goldmeadow Harrier with \"{W}, {T}: Tap target creature.\"");
this.setOriginalExpansionSetCode("FUT");
cardType.add(CardType.CREATURE);
color.setWhite(true);
@ -91,4 +91,4 @@ class GoldmeadowHarrierToken extends Token {
ability.addTarget(new TargetCreaturePermanent());
this.addAbility(ability);
}
}
}

View file

@ -45,7 +45,7 @@ import mage.filter.common.FilterCreaturePermanent;
* @author anonymous
*/
public class LymphSliver extends CardImpl {
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("Sliver", "All Sliver creatures");
public LymphSliver(UUID ownerId) {
@ -57,7 +57,8 @@ public class LymphSliver extends CardImpl {
// All Sliver creatures have absorb 1.
Ability absorb = new SimpleStaticAbility(Zone.BATTLEFIELD, new SliverAbsorbEffect());
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAllEffect(absorb, Duration.WhileOnBattlefield, filter, "absorb 1. <i>(If a source would deal damage to a Sliver, prevent 1 of that damage.)</i>")));
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAllEffect(absorb,
Duration.WhileOnBattlefield, filter, "All Sliver creatures have absorb 1. <i>(If a source would deal damage to a Sliver, prevent 1 of that damage.)</i>")));
}
public LymphSliver(final LymphSliver card) {
@ -73,7 +74,7 @@ public class LymphSliver extends CardImpl {
class SliverAbsorbEffect extends PreventionEffectImpl {
public SliverAbsorbEffect() {
super(Duration.WhileOnBattlefield, 1, false, false);
this.staticText = "If a source would deal damage to a Sliver, prevent 1 of that damage";
this.staticText = "Absorb 1 <i>(If a source would deal damage to this creature, prevent 1 of that damage.</i>)";
}
public SliverAbsorbEffect(SliverAbsorbEffect effect) {
@ -84,4 +85,4 @@ class SliverAbsorbEffect extends PreventionEffectImpl {
public SliverAbsorbEffect copy() {
return new SliverAbsorbEffect(this);
}
}
}

View file

@ -47,9 +47,9 @@ import mage.filter.predicate.permanent.AnotherPredicate;
*/
public class SliverLegion extends CardImpl {
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("Sliver", "All Sliver creatures");
private static final FilterPermanent countfilter = new FilterPermanent("Sliver","each other sliver");
private static final FilterPermanent countfilter = new FilterPermanent("Sliver", " for each other Sliver on the battlefield");
static {
countfilter.add(new AnotherPredicate());

View file

@ -57,7 +57,7 @@ public class KeldonMegaliths extends CardImpl {
this.addAbility(new RedManaAbility());
// Hellbent - {1}{R}, {tap}: Keldon Megaliths deals 1 damage to target creature or player. Activate this ability only if you have no cards in hand.
Ability ability = new ConditionalActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new ManaCostsImpl<>("{1}{R}"), HellbentCondition.getInstance(),
"<i>Hellbent</i> - {1}{R}, {tap}: {this} deals 1 damage to target creature or player. Activate this ability only if you have no cards in hand.");
"<i>Hellbent</i> &mdash; {1}{R}, {T}: {this} deals 1 damage to target creature or player. Activate this ability only if you have no cards in hand.");
ability.addTarget(new TargetCreatureOrPlayer());
this.addAbility(ability);
}

View file

@ -57,8 +57,8 @@ public class TransmuteAbility extends SimpleActivatedAbility {
@Override
public String getRule() {
return new StringBuilder("Transmute ").append(this.getManaCosts().getText())
.append(" (").append(this.getManaCosts().getText())
.append(", Discard this card: Search your library for a card with the same converted mana cost as this card, reveal it, and put it into your hand. Then shuffle your library. Transmute only as a sorcery.)").toString();
.append(" <i>(").append(this.getManaCosts().getText())
.append(", Discard this card: Search your library for a card with the same converted mana cost as this card, reveal it, and put it into your hand. Then shuffle your library. Transmute only as a sorcery.)</i>").toString();
}
}