mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
- more text fixes
This commit is contained in:
parent
1d43b38a5f
commit
da3fdee621
4 changed files with 16 additions and 7 deletions
|
@ -85,7 +85,7 @@ class CryOfTheCarnariumReplacementEffect extends ReplacementEffectImpl {
|
|||
|
||||
CryOfTheCarnariumReplacementEffect() {
|
||||
super(Duration.EndOfTurn, Outcome.Exile);
|
||||
staticText = "If a creature would die this turn, exile it instead.";
|
||||
staticText = " If a creature would die this turn, exile it instead.";
|
||||
}
|
||||
|
||||
private CryOfTheCarnariumReplacementEffect(final CryOfTheCarnariumReplacementEffect effect) {
|
||||
|
|
|
@ -29,7 +29,7 @@ import java.util.UUID;
|
|||
public final class PriestOfForgottenGods extends CardImpl {
|
||||
|
||||
private static final FilterControlledPermanent filter
|
||||
= new FilterControlledCreaturePermanent("two other creatures");
|
||||
= new FilterControlledCreaturePermanent("other creatures");
|
||||
|
||||
static {
|
||||
filter.add(AnotherPredicate.instance);
|
||||
|
|
|
@ -13,6 +13,7 @@ import mage.filter.common.FilterCreaturePermanent;
|
|||
import mage.filter.predicate.mageobject.AbilityPredicate;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.effects.Effect;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
|
@ -20,7 +21,7 @@ import java.util.UUID;
|
|||
public final class WindstormDrake extends CardImpl {
|
||||
|
||||
private static final FilterCreaturePermanent filter
|
||||
= new FilterCreaturePermanent("creatures you control with flying");
|
||||
= new FilterCreaturePermanent();
|
||||
|
||||
static {
|
||||
filter.add(new AbilityPredicate(FlyingAbility.class));
|
||||
|
@ -37,9 +38,11 @@ public final class WindstormDrake extends CardImpl {
|
|||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// Other creatures you control with flying get +1/+0.
|
||||
this.addAbility(new SimpleStaticAbility(new BoostControlledEffect(
|
||||
Effect effect = new BoostControlledEffect(
|
||||
1, 0, Duration.WhileOnBattlefield, filter, true
|
||||
)));
|
||||
);
|
||||
effect.setText("Other creatures you control with flying get +1/+0");
|
||||
this.addAbility(new SimpleStaticAbility(effect));
|
||||
}
|
||||
|
||||
private WindstormDrake(final WindstormDrake card) {
|
||||
|
|
|
@ -27,8 +27,14 @@ public class SacrificeTargetCost extends CostImpl {
|
|||
this.addTarget(target);
|
||||
target.setNotTarget(true); // sacrifice is never targeted
|
||||
this.text = "sacrifice "
|
||||
+ ((target.getNumberOfTargets() != 1 || (target.getTargetName().startsWith("an") || target.getTargetName().startsWith("a ")))
|
||||
? (target.getMinNumberOfTargets() == target.getMaxNumberOfTargets() && target.getMinNumberOfTargets() > 1 ? CardUtil.numberToText(target.getNumberOfTargets()) : "" ) : (target.getTargetName().startsWith("artifact") ? "an " : "a ")) + target.getTargetName();
|
||||
+ ((target.getNumberOfTargets() != 1
|
||||
|| (target.getTargetName().startsWith("an")
|
||||
|| target.getTargetName().startsWith("a ")))
|
||||
? (target.getMinNumberOfTargets() == target.getMaxNumberOfTargets()
|
||||
&& target.getMinNumberOfTargets() > 1
|
||||
? CardUtil.numberToText(target.getNumberOfTargets()) : "" )
|
||||
: (target.getTargetName().startsWith("artifact") ? "an " : "a "))
|
||||
+ " " + target.getTargetName();
|
||||
target.setTargetName(target.getTargetName() + " (to sacrifice)");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue