- Fixed the AI crewing an already animated vehicle.

This commit is contained in:
Agetian
2017-10-01 04:07:06 +00:00
parent 5b12d0e3f6
commit 9a45a84663

View File

@@ -170,6 +170,10 @@ public class AnimateAi extends SpellAbilityAi {
}
if (!SpellAbilityAi.isSorcerySpeed(sa) && !sa.hasParam("Permanent")) {
if (sa.hasParam("Crew") && c.isCreature()) {
// Do not try to crew a vehicle which is already a creature
return false;
}
Card animatedCopy = becomeAnimated(c, sa);
if (ph.isPlayerTurn(aiPlayer)
&& !ComputerUtilCard.doesSpecifiedCreatureAttackAI(aiPlayer, animatedCopy)) {