small change to conditional triggered ability text generation

This commit is contained in:
Evan Kranzler 2021-10-10 16:07:34 -04:00
parent be2d443e1a
commit 79235d9ad6

View file

@ -78,7 +78,8 @@ public class ConditionalInterveningIfTriggeredAbility extends TriggeredAbilityIm
if (abilityText == null || abilityText.isEmpty()) {
return ability.getRule();
}
return (abilityWord != null ? abilityWord.formatWord() : "") + abilityText;
return (abilityWord != null ? abilityWord.formatWord() : "") + abilityText +
(abilityText.endsWith(".") || abilityText.endsWith("\"") ? "" : ".");
}
@Override