mirror of
https://github.com/magefree/mage.git
synced 2025-12-30 07:22:03 -08:00
more text fixes
This commit is contained in:
parent
a98ff3867c
commit
e3d654dcb0
39 changed files with 65 additions and 62 deletions
|
|
@ -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 + ", "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue