forked from External/mage
text fixes and ability rule improvements
This commit is contained in:
parent
a1e9e2f6a5
commit
64db75576e
7 changed files with 10 additions and 11 deletions
|
|
@ -154,7 +154,7 @@ public class GainAbilityAllEffect extends ContinuousEffectImpl {
|
|||
}
|
||||
if (quotes) {
|
||||
sb.append('"');
|
||||
sb.append(CardUtil.getTextWithFirstCharUpperCase(ability.getRule()));
|
||||
sb.append(CardUtil.stripReminderText(CardUtil.getTextWithFirstCharUpperCase(ability.getRule())));
|
||||
sb.append('"');
|
||||
} else {
|
||||
sb.append(ability.getRule());
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ import mage.filter.FilterPermanent;
|
|||
import mage.filter.StaticFilters;
|
||||
import mage.game.Game;
|
||||
import mage.game.permanent.Permanent;
|
||||
import mage.util.CardUtil;
|
||||
|
||||
import java.util.Iterator;
|
||||
|
||||
|
|
@ -123,7 +124,7 @@ public class GainAbilityControlledEffect extends ContinuousEffectImpl {
|
|||
if (excludeSource) {
|
||||
sb.append("other ");
|
||||
}
|
||||
String gainedAbility = ability.getRule();
|
||||
String gainedAbility = CardUtil.stripReminderText(ability.getRule());
|
||||
sb.append(filter.getMessage()).append(" you control ");
|
||||
if (duration == Duration.WhileOnBattlefield || duration == Duration.EndOfGame) {
|
||||
sb.append("have ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue