found the cause of the loop in inkmoth, it has to do with the way manaproducers set thier "needsTapping" depending on the way the ability is called, it can set it 3 ways, {t}<--sets only the manaproducers "tap" and completely ignores the "doTap" which is the way actiavted mana producers call it.

This commit is contained in:
omegablast2002@yahoo.com
2011-02-07 13:48:27 +00:00
parent 9b076d6791
commit 18c70ec187

View File

@@ -124,7 +124,7 @@ bool AIPlayer::tapLandsForMana(ManaCost * cost, MTGCardInstance * target)
break;
}
}
if (doTap)
if (doTap || amp->tap)
{
AIAction * action = NEW AIAction(amp, card);
clickstream.push(action);