more Ai training: use ability modifiers on creatures that dont already have the ability and prefferedly during first mains, use life altering cards as often as possible, improved foreach a little more, use untappers on card that are tapped that belong to Ai and tappers on cards that are not tapped that belong to player

This commit is contained in:
omegablast2002@yahoo.com
2010-11-27 18:05:35 +00:00
parent 76dc9a2379
commit e23e3d0728
5 changed files with 85 additions and 10 deletions
+1 -1
View File
@@ -542,7 +542,7 @@ int MTGGameZone::hasColor(int value)
{
for (int i = 0; i < (nb_cards); i++)
{
if (cards[i]->getManaCost()->hasColor(value))
if (cards[i]->getManaCost()->hasColor(value) && cards[i]->getManaCost()->getConvertedCost() > 0)
{
return 1;
}