Added/fixed primitives, improved "anytypeofmana" ability for both player and AI and implemented "anytypeofmanaability" keyword to allow the user and the AI to spend mana of any color to activate abilities.
This commit is contained in:
@@ -59,7 +59,7 @@ int AIMomirPlayer::momir()
|
||||
MTGCardInstance * card = game->hand->cards[0];
|
||||
if (ability->isReactingToClick(card, cost))
|
||||
{
|
||||
payTheManaCost(cost);
|
||||
payTheManaCost(cost, card->has(Constants::ANYTYPEOFMANA));
|
||||
AIAction * a = NEW AIAction(this, ability, card);
|
||||
clickstream.push(a);
|
||||
result = 1;
|
||||
|
||||
Reference in New Issue
Block a user