diff --git a/projects/mtg/src/AIPlayerBaka.cpp b/projects/mtg/src/AIPlayerBaka.cpp index 66a2a0dfb..b96e340bb 100644 --- a/projects/mtg/src/AIPlayerBaka.cpp +++ b/projects/mtg/src/AIPlayerBaka.cpp @@ -705,6 +705,7 @@ bool AIPlayerBaka::payTheManaCost(ManaCost * cost, MTGCardInstance * target,vect paid->add(amp->output); } } + if(k == gotPayments.size())//only add it once, and at the end. paid->add(this->getManaPool());//incase some of our payments were mana already in the pool/. if(paid->canAfford(cost) && (!cost->hasX() || k == gotPayments.size())) { diff --git a/projects/mtg/src/AIPlayerBakaB.cpp b/projects/mtg/src/AIPlayerBakaB.cpp index d86b5da1f..a4ad3a5d9 100644 --- a/projects/mtg/src/AIPlayerBakaB.cpp +++ b/projects/mtg/src/AIPlayerBakaB.cpp @@ -75,6 +75,7 @@ bool AIPlayerBakaB::payTheManaCost(ManaCost * cost, MTGCardInstance * target, ve paid->add(amp->output); } } + if(k == gotPayments.size())//add it once, and at the end. paid->add(this->getManaPool());//incase some of our payments were mana already in the pool/. if(paid->canAfford(cost) && (!cost->hasX() || k == gotPayments.size())) {