Added new decks for AI, improved "genrand", "altercost" and "changecost" keywords in order to allow the usage of a variable instead of a simple number (e.g. "altercost(colorless, -phandcount)").

This commit is contained in:
Vittorio Alfieri
2021-09-26 12:22:28 +02:00
parent 8ae7439978
commit 9e3caa635d
27 changed files with 1194 additions and 7 deletions
+2 -2
View File
@@ -7388,8 +7388,8 @@ void AAlterCost::refreshCost(MTGCardInstance * card)
original->remove(card->getReducedManaCost());
card->getManaCost()->copy(original);
delete original;
return;
}
return;
}
void AAlterCost::increaseTheCost(MTGCardInstance * card)
{
if(card->getIncreasedManaCost()->getConvertedCost())