Merge pull request #7105 from magefree/fix/addManaWording

Improved grammar of AddMana* Effects
This commit is contained in:
Oleg Agafonov 2020-10-02 21:49:25 +02:00 committed by GitHub
commit a7a7a29223
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -112,8 +112,8 @@ public class AddManaInAnyCombinationEffect extends ManaEffect {
while (amountOfManaLeft > 0 && player.canRespond()) { while (amountOfManaLeft > 0 && player.canRespond()) {
for (ColoredManaSymbol coloredManaSymbol : manaSymbols) { for (ColoredManaSymbol coloredManaSymbol : manaSymbols) {
int number = player.getAmount(0, amountOfManaLeft, "Distribute mana by color (done " + mana.count() int number = player.getAmount(0, amountOfManaLeft, "Distribute mana by color (" + mana.count()
+ " of " + maxAmount + "). How many mana add to <b>" + coloredManaSymbol.getColorHtmlName() + "</b> (enter 0 for pass to next color)?", game); + " of " + maxAmount + " done). How many <b>" + coloredManaSymbol.getColorHtmlName() + "</b> mana to add (enter 0 to pass to next color)?", game);
if (number > 0) { if (number > 0) {
for (int i = 0; i < number; i++) { for (int i = 0; i < number; i++) {
mana.add(new Mana(coloredManaSymbol)); mana.add(new Mana(coloredManaSymbol));

View file

@ -79,7 +79,7 @@ public class AddManaOfAnyColorEffect extends BasicManaEffect {
if (game != null) { if (game != null) {
Player controller = game.getPlayer(source.getControllerId()); Player controller = game.getPlayer(source.getControllerId());
if (controller != null) { if (controller != null) {
String mes = String.format("Select color of %d mana to add it", this.amount); String mes = String.format("Select a color of mana to add %d of it", this.amount);
if (mes != null) { if (mes != null) {
ChoiceColor choice = new ChoiceColor(true, mes, game.getObject(source.getSourceId())); ChoiceColor choice = new ChoiceColor(true, mes, game.getObject(source.getSourceId()));
if (controller.choose(outcome, choice, game)) { if (controller.choose(outcome, choice, game)) {