mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
Merge branch 'master' into 'master'
Fix inverse logic in AnimateAi See merge request core-developers/forge!3911
This commit is contained in:
@@ -288,7 +288,7 @@ public class AnimateAi extends SpellAbilityAi {
|
|||||||
// evaluate their value to check if it becomes better
|
// evaluate their value to check if it becomes better
|
||||||
if (c.isCreature()) {
|
if (c.isCreature()) {
|
||||||
int cValue = ComputerUtilCard.evaluateCreature(c);
|
int cValue = ComputerUtilCard.evaluateCreature(c);
|
||||||
if (cValue <= aValue)
|
if (cValue >= aValue)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user