- Fixed a logic error in AnimateAi which made the AI animate things like Plains via Genju of the Fields when the Plains was tapped.

This commit is contained in:
Agetian
2018-12-09 14:48:08 +03:00
parent bcfae4ba40
commit 031d0b4d3c

View File

@@ -188,7 +188,7 @@ public class AnimateAi extends SpellAbilityAi {
if (animatedCopy.getCurrentPower() + animatedCopy.getCurrentToughness() >
c.getCurrentPower() + c.getCurrentToughness()) {
if (!isAnimatedThisTurn(aiPlayer, sa.getHostCard())) {
if (!sa.getHostCard().isTapped() || (game.getCombat() != null && game.getCombat().isAttacking(sa.getHostCard()))) {
if (!c.isTapped() || (game.getCombat() != null && game.getCombat().isAttacking(sa.getHostCard()))) {
bFlag = true;
}
}