Fixed bug with syncopate to consume all the mana available

Now pay[[{x}]] is not supported because of this.
use "pay[[{value:storedx}]]" instead
This commit is contained in:
Dmitry Panin
2013-10-30 12:39:08 +04:00
parent 57c9940244
commit 6bbe290762
4 changed files with 8 additions and 11 deletions

View File

@@ -424,7 +424,7 @@ int ManaCost::hasX()
DebugTrace("Seems ManaCost was not properly initialized");
return 0;
}
if(xColor > 0)
if (xColor > 0)
return 0;
return cost[Constants::NB_Colors];