add "colorless" manacost

The symbol {C} will be used going forward to represent one colorless
mana. The numerical and variable mana symbols ({1}, {2}, and so on,
including {X}) will still be used, but only to represent costs that can
be paid with any type of mana.

example card: To cast Spatial Contortion, you pay two mana: one generic
(that's the {1}) and one colorless (that's the {C}). The generic mana
cost can be paid with any type of mana—that means any color or
colorless. But the {C} is different. That can be paid only with
colorless mana.
This commit is contained in:
Anthony Calosa
2016-05-30 01:16:19 +08:00
parent 1d81c12150
commit 22d4cbbd1e
3 changed files with 17 additions and 9 deletions

View File

@@ -5762,7 +5762,7 @@ const string AManaProducer::getMenuText()
menutext = _("Add ");
char buffer[128];
int alreadyHasOne = 0;
for (int i = 0; i < 6; i++)
for (int i = 0; i < 7; i++)
{
int value = output->getCost(i);
if (value)
@@ -5773,6 +5773,8 @@ const string AManaProducer::getMenuText()
menutext.append(buffer);
if (i >= Constants::MTG_COLOR_GREEN && i <= Constants::MTG_COLOR_WHITE)
menutext.append(_(Constants::MTGColorStrings[i]));
//if (i == Constants::MTG_COLOR_LAND)
//menutext.append(_(" colorless"));
alreadyHasOne = 1;
}
}