more text fixes

This commit is contained in:
xenohedron 2024-11-03 22:03:44 -05:00
parent a98ff3867c
commit e3d654dcb0
39 changed files with 65 additions and 62 deletions

View file

@ -113,7 +113,8 @@ public class ConditionalOneShotEffect extends OneShotEffect {
if (otherwiseEffects.isEmpty()) {
if (withConditionTextAtEnd) {
return CardUtil.getTextWithFirstCharLowerCase(effects.getText(mode))
String effectText = effects.getText(mode);
return CardUtil.getTextWithFirstCharLowerCase(effectText.substring(0, effectText.length() - 1))
+ " if " + conditionText;
} else {
return "if " + conditionText + ", "