- Improved the animate manland AI such that it doesn't try to animate manlands that are already tapped.

git-svn-id: http://svn.slightlymagic.net/forge/trunk@35762 269b9781-a132-4a9b-9d4e-f004f1b56b58
This commit is contained in:
Agetian 2017-09-25 11:03:54 +00:00
parent f6ec63c6cc
commit db383f654b

View File

@ -204,9 +204,10 @@ public class ComputerUtilMana {
} }
// If a manland was previously animated this turn, do not tap it to animate another manland // If a manland was previously animated this turn, do not tap it to animate another manland
// Also, don't animate a land that is already tapped (not very useful)
if (sa.getHostCard().isLand() && ma.getHostCard().isLand() if (sa.getHostCard().isLand() && ma.getHostCard().isLand()
&& ai.getController().isAI() && ai.getController().isAI()
&& AnimateAi.isAnimatedThisTurn(ai, ma.getHostCard())) { && (AnimateAi.isAnimatedThisTurn(ai, ma.getHostCard())) || sa.getHostCard().isTapped()) {
continue; continue;
} }
} else if (sa.getApi() == ApiType.Pump) { } else if (sa.getApi() == ApiType.Pump) {