mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 03:51:58 -08:00
text fixes and ability rule improvements
This commit is contained in:
parent
a1e9e2f6a5
commit
64db75576e
7 changed files with 10 additions and 11 deletions
|
|
@ -34,7 +34,7 @@ public final class SublimeArchangel extends CardImpl {
|
|||
this.addAbility(new ExaltedAbility());
|
||||
// Other creatures you control have exalted.
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD,
|
||||
new GainAbilityControlledEffect(new ExaltedAbility(), Duration.WhileOnBattlefield, StaticFilters.FILTER_PERMANENT_CREATURE, true)));
|
||||
new GainAbilityControlledEffect(new ExaltedAbility(), Duration.WhileOnBattlefield, StaticFilters.FILTER_PERMANENT_CREATURES, true)));
|
||||
}
|
||||
|
||||
private SublimeArchangel(final SublimeArchangel card) {
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ public final class VelaTheNightClad extends CardImpl {
|
|||
this.addAbility(new SimpleStaticAbility(
|
||||
Zone.BATTLEFIELD,
|
||||
new GainAbilityControlledEffect(IntimidateAbility.getInstance(),
|
||||
Duration.WhileOnBattlefield, StaticFilters.FILTER_PERMANENT_CREATURE, true)));
|
||||
Duration.WhileOnBattlefield, StaticFilters.FILTER_PERMANENT_CREATURES, true)));
|
||||
// Whenever Vela the Night-Clad or another creature you control leaves the battlefield, each opponent loses 1 life.
|
||||
Ability ability = new ZoneChangeAllTriggeredAbility(
|
||||
Zone.BATTLEFIELD,
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@ public class GainAbilityAllEffect extends ContinuousEffectImpl {
|
|||
}
|
||||
if (quotes) {
|
||||
sb.append('"');
|
||||
sb.append(CardUtil.getTextWithFirstCharUpperCase(ability.getRule()));
|
||||
sb.append(CardUtil.stripReminderText(CardUtil.getTextWithFirstCharUpperCase(ability.getRule())));
|
||||
sb.append('"');
|
||||
} else {
|
||||
sb.append(ability.getRule());
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ import mage.filter.FilterPermanent;
|
|||
import mage.filter.StaticFilters;
|
||||
import mage.game.Game;
|
||||
import mage.game.permanent.Permanent;
|
||||
import mage.util.CardUtil;
|
||||
|
||||
import java.util.Iterator;
|
||||
|
||||
|
|
@ -123,7 +124,7 @@ public class GainAbilityControlledEffect extends ContinuousEffectImpl {
|
|||
if (excludeSource) {
|
||||
sb.append("other ");
|
||||
}
|
||||
String gainedAbility = ability.getRule();
|
||||
String gainedAbility = CardUtil.stripReminderText(ability.getRule());
|
||||
sb.append(filter.getMessage()).append(" you control ");
|
||||
if (duration == Duration.WhileOnBattlefield || duration == Duration.EndOfGame) {
|
||||
sb.append("have ");
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ import mage.players.Player;
|
|||
import mage.target.common.TargetControlledPermanent;
|
||||
import mage.util.CardUtil;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.Objects;
|
||||
import java.util.UUID;
|
||||
|
||||
|
|
@ -63,8 +62,8 @@ public class ConspireAbility extends StaticAbility implements OptionalAdditional
|
|||
}
|
||||
|
||||
public String getReminder() {
|
||||
return "as you cast this spell, you may tap two untapped creatures you control " +
|
||||
"that share a color with it. When you do, copy it" + message;
|
||||
return "As you cast this spell, you may tap two untapped creatures you control " +
|
||||
"that share a color with it. When you do, copy it" + message + ".";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -132,8 +131,7 @@ public class ConspireAbility extends StaticAbility implements OptionalAdditional
|
|||
return;
|
||||
}
|
||||
ability.getAllEffects().setValue("ConspireActivation" + conspireId + addedById, true);
|
||||
for (Iterator<Cost> it = ((Costs<Cost>) conspireCost).iterator(); it.hasNext(); ) {
|
||||
Cost cost = (Cost) it.next();
|
||||
for (Cost cost : (Costs<Cost>) conspireCost) {
|
||||
if (cost instanceof ManaCostsImpl) {
|
||||
ability.getManaCostsToPay().add((ManaCostsImpl<?>) cost.copy());
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ public class CrewAbility extends SimpleActivatedAbility {
|
|||
|
||||
@Override
|
||||
public String getRule() {
|
||||
return "Crew " + value + " <i>(Tap any number of creatures you control with total power "
|
||||
return "crew " + value + " <i>(Tap any number of creatures you control with total power "
|
||||
+ value + " or more: This Vehicle becomes an artifact creature until end of turn.)</i>";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ public class EvolveAbility extends EntersBattlefieldAllTriggeredAbility {
|
|||
|
||||
@Override
|
||||
public String getRule() {
|
||||
return "Evolve <i>(Whenever a creature enters the battlefield under your control, if that creature has greater power or toughness than this creature, put a +1/+1 counter on this creature.)</i>";
|
||||
return "evolve <i>(Whenever a creature enters the battlefield under your control, if that creature has greater power or toughness than this creature, put a +1/+1 counter on this creature.)</i>";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue