mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 12:52:06 -08:00
[CLB] various text fixes
This commit is contained in:
parent
843d6b38be
commit
f2e27148cb
10 changed files with 23 additions and 19 deletions
|
|
@ -9,6 +9,7 @@ import mage.abilities.effects.Effects;
|
|||
import mage.constants.EffectType;
|
||||
import mage.game.Game;
|
||||
import mage.game.events.GameEvent;
|
||||
import mage.util.CardUtil;
|
||||
import mage.watchers.Watcher;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -78,8 +79,9 @@ public class ConditionalInterveningIfTriggeredAbility extends TriggeredAbilityIm
|
|||
if (abilityText == null || abilityText.isEmpty()) {
|
||||
return ability.getRule();
|
||||
}
|
||||
return (abilityWord != null ? abilityWord.formatWord() : "") + abilityText +
|
||||
(abilityText.endsWith(".") || abilityText.endsWith("\"") || abilityText.endsWith(">") ? "" : ".");
|
||||
return (flavorWord != null ? CardUtil.italicizeWithEmDash(flavorWord) : "") +
|
||||
(abilityWord != null ? abilityWord.formatWord() : "") +
|
||||
abilityText + (abilityText.endsWith(".") || abilityText.endsWith("\"") || abilityText.endsWith(">") ? "" : ".");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue