From 072a250dc0971d2cc429b516e23014e4d1846830 Mon Sep 17 00:00:00 2001 From: "omegablast2002@yahoo.com" Date: Mon, 14 Feb 2011 01:45:14 +0000 Subject: [PATCH] reverted it completely now in hopes that this is whats stalling ai...for some strange reason im noticing that ai is tapping an extra mana every time it tries to play something... exsample it wants to play a {2}{b}{b} ...so it taps 5 mana instead of the 4 it would have tapped before.... --- projects/mtg/src/AIPlayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/mtg/src/AIPlayer.cpp b/projects/mtg/src/AIPlayer.cpp index e2fd282af..e1e6aca63 100644 --- a/projects/mtg/src/AIPlayer.cpp +++ b/projects/mtg/src/AIPlayer.cpp @@ -105,7 +105,7 @@ bool AIPlayer::tapLandsForMana(ManaCost * cost, MTGCardInstance * target) //Make sure we can use the ability MTGAbility * a = ((MTGAbility *) g->mLayers->actionLayer()->mObjects[i]); AManaProducer * amp = dynamic_cast (a); - if (amp && canHandleCost(amp) && (!amp->tap ||(amp->tap && !amp->source->isTapped()))) + if (amp && canHandleCost(amp)) { MTGCardInstance * card = amp->source; if (card == target)