mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
[M21] some more text fixes
This commit is contained in:
parent
9a140a19a2
commit
665528b251
4 changed files with 16 additions and 8 deletions
|
|
@ -51,7 +51,7 @@ public final class AlpineHoundmaster extends CardImpl {
|
|||
// Whenever Alpine Houndmaster attacks, it gets +X/+0 until end of turn, where X is the number of other attacking creatures.
|
||||
this.addAbility(new AttacksTriggeredAbility(new BoostSourceEffect(
|
||||
xValue, StaticValue.get(0), Duration.EndOfTurn, true
|
||||
), false));
|
||||
).setText("it gets +X/+0 until end of turn, where X is the number of other attacking creatures"), false));
|
||||
}
|
||||
|
||||
private AlpineHoundmaster(final AlpineHoundmaster card) {
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ public final class SanguineIndulgence extends CardImpl {
|
|||
// This spell costs {3} less to cast if you've gained 3 or more life this turn.
|
||||
this.addAbility(new SimpleStaticAbility(
|
||||
Zone.ALL, new SpellCostReductionSourceEffect(3, condition)
|
||||
.setText("this spell costs {3} less to cast if you've gained 3 or more life this turn")
|
||||
).addHint(hint).setRuleAtTheTop(true),
|
||||
new PlayerGainedLifeWatcher());
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
|
|
@ -22,6 +20,9 @@ import mage.game.Game;
|
|||
import mage.game.stack.Spell;
|
||||
import mage.watchers.common.SpellsCastWatcher;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
|
|
@ -84,4 +85,9 @@ enum StormwingEntityCondition implements Condition {
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "you've cast an instant or sorcery spell this turn";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -93,18 +93,19 @@ public class ReturnToHandTargetEffect extends OneShotEffect {
|
|||
if (target.getMinNumberOfTargets() == 0 && target.getMaxNumberOfTargets() >= 1) {
|
||||
sb.append("up to ");
|
||||
sb.append(CardUtil.numberToText(target.getMaxNumberOfTargets())).append(" ");
|
||||
}
|
||||
else if (!(target.getMinNumberOfTargets() == 1 || target.getMaxNumberOfTargets() == 1)) {
|
||||
} else if (!(target.getMinNumberOfTargets() == 1 || target.getMaxNumberOfTargets() == 1)) {
|
||||
sb.append(CardUtil.numberToText(target.getMaxNumberOfTargets())).append(" ");
|
||||
}
|
||||
if (!target.getTargetName().contains("target")) {
|
||||
sb.append("target ");
|
||||
}
|
||||
sb.append(target.getTargetName());
|
||||
if(target.getMaxNumberOfTargets() > 1) {
|
||||
sb.append(" to their owners' hands");
|
||||
if (target.getMaxNumberOfTargets() > 1 && !target.getTargetName().endsWith("s")) {
|
||||
sb.append('s');
|
||||
}
|
||||
else {
|
||||
if (target.getMaxNumberOfTargets() > 1) {
|
||||
sb.append(" to their owners' hands");
|
||||
} else {
|
||||
sb.append(" to its owner's hand");
|
||||
}
|
||||
return sb.toString();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue