mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
fix text
fix Jade Seedstones craft cost
This commit is contained in:
parent
ae4d4b6190
commit
9eeaf9cae1
7 changed files with 19 additions and 17 deletions
|
|
@ -127,13 +127,14 @@ public class GainAbilityControlledEffect extends ContinuousEffectImpl {
|
|||
}
|
||||
String gainedAbility = CardUtil.stripReminderText(ability.getRule());
|
||||
sb.append(filter.getMessage());
|
||||
if (!filter.getMessage().endsWith("you control")) {
|
||||
if (!filter.getMessage().contains("you control")) {
|
||||
sb.append(" you control");
|
||||
}
|
||||
boolean singular = filter.getMessage().toLowerCase().startsWith("each");
|
||||
if (duration == Duration.WhileOnBattlefield || duration == Duration.EndOfGame) {
|
||||
sb.append(" have ");
|
||||
sb.append(singular ? " has " : " have ");
|
||||
} else {
|
||||
sb.append(" gain ");
|
||||
sb.append(singular ? " gains " : " gain ");
|
||||
}
|
||||
if (forceQuotes || gainedAbility.startsWith("When") || gainedAbility.startsWith("{T}")) {
|
||||
gainedAbility = '"' + gainedAbility + '"';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue