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

This commit is contained in:
Agetian
2018-12-09 14:49:53 +03:00
parent 031d0b4d3c
commit 156683cddb

View File

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