mirror of
https://github.com/Relintai/mtg-forge-ios.git
synced 2024-12-25 21:17:12 +01:00
- Improved the animate manland AI such that it doesn't try to animate manlands that are already tapped.
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35762 269b9781-a132-4a9b-9d4e-f004f1b56b58
This commit is contained in:
parent
f6ec63c6cc
commit
db383f654b
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user