mirror of
https://github.com/correl/mage.git
synced 2024-11-25 11:09:53 +00:00
Merge pull request #7105 from magefree/fix/addManaWording
Improved grammar of AddMana* Effects
This commit is contained in:
commit
a7a7a29223
2 changed files with 3 additions and 3 deletions
|
@ -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));
|
||||||
|
|
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in a new issue