mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
text fixes and test fixes to fix how tests test text, then more text next
This commit is contained in:
parent
14107b3d55
commit
54b8f10c3c
76 changed files with 247 additions and 227 deletions
|
|
@ -46,7 +46,7 @@ public class GetEmblemEffect extends OneShotEffect {
|
|||
public GetEmblemEffect(Emblem emblem) {
|
||||
super(Outcome.Benefit);
|
||||
this.emblem = emblem;
|
||||
this.staticText = "You get an emblem with \"" + +'"';
|
||||
this.staticText = getText();
|
||||
}
|
||||
|
||||
public GetEmblemEffect(final GetEmblemEffect effect) {
|
||||
|
|
@ -74,7 +74,9 @@ public class GetEmblemEffect extends OneShotEffect {
|
|||
sb.append("You get an emblem with \"");
|
||||
List<String> rules = emblem.getAbilities().getRules(null);
|
||||
if (rules.size() == 1) {
|
||||
sb.append(rules.get(0));
|
||||
for (String s : rules) {
|
||||
sb.append(s);
|
||||
}
|
||||
sb.append('"');
|
||||
} else if (rules.size() == 2) {
|
||||
for (String s : rules) {
|
||||
|
|
@ -83,7 +85,6 @@ public class GetEmblemEffect extends OneShotEffect {
|
|||
}
|
||||
sb.append('"');
|
||||
}
|
||||
sb.append('.');
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue