mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- Improved the animate manland AI such that it doesn't try to animate manlands that are already tapped.
This commit is contained in:
@@ -204,9 +204,10 @@ public class ComputerUtilMana {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If a manland was previously animated this turn, do not tap it to animate another manland
|
// If a manland was previously animated this turn, do not tap it to animate another manland
|
||||||
|
// Also, don't animate a land that is already tapped (not very useful)
|
||||||
if (sa.getHostCard().isLand() && ma.getHostCard().isLand()
|
if (sa.getHostCard().isLand() && ma.getHostCard().isLand()
|
||||||
&& ai.getController().isAI()
|
&& ai.getController().isAI()
|
||||||
&& AnimateAi.isAnimatedThisTurn(ai, ma.getHostCard())) {
|
&& (AnimateAi.isAnimatedThisTurn(ai, ma.getHostCard())) || sa.getHostCard().isTapped()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
} else if (sa.getApi() == ApiType.Pump) {
|
} else if (sa.getApi() == ApiType.Pump) {
|
||||||
|
|||||||
Reference in New Issue
Block a user