forked from External/mage
followup fixes
This commit is contained in:
parent
ae9f920d87
commit
aaf99a4c1a
3 changed files with 10 additions and 7 deletions
|
|
@ -176,10 +176,13 @@ public class AddManaInAnyCombinationEffect extends ManaEffect {
|
|||
for (ColoredManaSymbol coloredManaSymbol : manaSymbols) {
|
||||
i++;
|
||||
if (i > 1) {
|
||||
if (manaSymbols.size() > 2) {
|
||||
sb.append(",");
|
||||
}
|
||||
if (i == manaSymbols.size()) {
|
||||
sb.append(", and/or ");
|
||||
sb.append(" and/or ");
|
||||
} else {
|
||||
sb.append(", ");
|
||||
sb.append(" ");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue