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:
@@ -20,9 +20,9 @@ MTGCardInstance * AIPlayerBakaB::chooseCard(TargetChooser * tc, MTGCardInstance
|
||||
return AIPlayerBaka::chooseCard(tc, source, random);
|
||||
}
|
||||
|
||||
bool AIPlayerBakaB::payTheManaCost(ManaCost * cost, MTGCardInstance * target, vector<MTGAbility*>gotPayments)
|
||||
bool AIPlayerBakaB::payTheManaCost(ManaCost * cost, int anytypeofmana, MTGCardInstance * target, vector<MTGAbility*>gotPayments)
|
||||
{
|
||||
return AIPlayerBaka::payTheManaCost(cost, target, gotPayments);
|
||||
return AIPlayerBaka::payTheManaCost(cost, anytypeofmana, target, gotPayments);
|
||||
}
|
||||
|
||||
int AIPlayerBakaB::getEfficiency(OrderedAIAction * action)
|
||||
|
||||
Reference in New Issue
Block a user