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:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user