mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
small change to conditional triggered ability text generation
This commit is contained in:
parent
be2d443e1a
commit
79235d9ad6
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue