OK quad and COMBATTOUGHNESS for attackers/blockers

support doubled res for OK quad, AI should consider toughness as power
if it has COMBATTOUGHNESS ability
This commit is contained in:
Anthony Calosa
2016-07-22 15:38:38 +08:00
parent b6b3898536
commit 6d72753216
4 changed files with 15 additions and 10 deletions

View File

@@ -2739,8 +2739,8 @@ int AIPlayerBaka::getCreaturesInfo(Player * player, int neededInfo, int untapMod
result++;
}
else
{
result += card->power;
{//AI should consider COMBATTOUGHNESS for attackers and blockers
result += card->has(Constants::COMBATTOUGHNESS) ? card->toughness : card->power;
}
}
}