Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions forge-ai/src/main/java/forge/ai/ability/AnimateAi.java
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,13 @@ protected AiAbilityDecision checkApiLogic(Player aiPlayer, SpellAbility sa) {
bFlag = true;
}
}
if (!bFlag && "Permanent".equals(sa.getParam("Duration"))) {
// Account for improvements represented by other animation changes, such as
// removing defender or adding an unblockable static ability.
final Card animatedCopy = becomeAnimated(c, sa);
bFlag = ComputerUtilCard.evaluateCreature(animatedCopy)
> ComputerUtilCard.evaluateCreature(c);
}
}

if (!isSorcerySpeed(sa, aiPlayer) && !"Permanent".equals(sa.getParam("Duration"))) {
Expand Down