mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
a couple text fixes
This commit is contained in:
parent
78e1ef6271
commit
c07837f743
5 changed files with 6 additions and 5 deletions
|
|
@ -53,7 +53,7 @@ class ArchelosLagoonMysticEffect extends ReplacementEffectImpl {
|
|||
super(Duration.WhileOnBattlefield, Outcome.Benefit);
|
||||
this.tapped = tapped;
|
||||
staticText = "as long as {this} is "
|
||||
+ (tapped ? "" : "un") + "tapped, other permanents enter the battlefield "
|
||||
+ (tapped ? "" : "un") + "tapped, other permanents enter "
|
||||
+ (tapped ? "" : "un") + "tapped";
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -28,8 +28,8 @@ public final class ChandrasPyreling extends CardImpl {
|
|||
this.toughness = new MageInt(3);
|
||||
|
||||
// Whenever a source you control deals noncombat damage to an opponent, Chandra's Pyreling gets +1/+0 and gains double strike until end of turn.
|
||||
Ability ability = new SourceDealsNoncombatDamageToOpponentTriggeredAbility(new BoostSourceEffect(1, 0, Duration.EndOfTurn).setText(" this creature gets +1/+0"));
|
||||
ability.addEffect(new GainAbilitySourceEffect(DoubleStrikeAbility.getInstance(), Duration.EndOfTurn).setText("gains double strike until end of turn").concatBy("and"));
|
||||
Ability ability = new SourceDealsNoncombatDamageToOpponentTriggeredAbility(new BoostSourceEffect(1, 0, Duration.EndOfTurn).setText("this creature gets +1/+0"));
|
||||
ability.addEffect(new GainAbilitySourceEffect(DoubleStrikeAbility.getInstance(), Duration.EndOfTurn).setText("and gains double strike until end of turn"));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ import java.util.UUID;
|
|||
*/
|
||||
public final class WelcomingVampire extends CardImpl {
|
||||
|
||||
private static final FilterPermanent filter = new FilterControlledCreaturePermanent("one or more other creatures with power 2 or less");
|
||||
private static final FilterPermanent filter = new FilterControlledCreaturePermanent("one or more other creatures you control with power 2 or less");
|
||||
|
||||
static {
|
||||
filter.add(AnotherPredicate.instance);
|
||||
|
|
|
|||
|
|
@ -333,7 +333,7 @@ public abstract class TriggeredAbilityImpl extends AbilityImpl implements Trigge
|
|||
}
|
||||
}
|
||||
if (replaceRuleText && triggerPhrase != null) {
|
||||
superRule = superRule.replaceFirst("^((?:you may )?sacrifice |(put|remove) [^ ]+ [^ ]+ counters? (on|from) |return |transform |untap |regenerate )?\\{this\\}", "$1it");
|
||||
superRule = superRule.replaceFirst("^((?:you may )?sacrifice |(put|remove) [^ ]+ [^ ]+ counters? (on|from) |return |transform |untap |regenerate |attach )?\\{this\\}", "$1it");
|
||||
}
|
||||
sb.append(superRule);
|
||||
if (triggerLimitEachTurn != Integer.MAX_VALUE) {
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ public class EntersBattlefieldAttachToTarget extends EntersBattlefieldTriggeredA
|
|||
|
||||
public EntersBattlefieldAttachToTarget(FilterPermanent filter) {
|
||||
super(new AttachEffect(Outcome.BoostCreature, "attach {this} to target " + filter.getMessage()));
|
||||
this.withRuleTextReplacement(true); // default "it" but a few exceptions
|
||||
this.addTarget(new TargetPermanent(filter));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue