mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Do not waste all mana on animating a single manland when interrupting a sac effect.
This commit is contained in:
@@ -137,7 +137,10 @@ public class AnimateAi extends SpellAbilityAi {
|
|||||||
return false; // what is this for?
|
return false; // what is this for?
|
||||||
}
|
}
|
||||||
if (!game.getStack().isEmpty() && game.getStack().peekAbility().getApi() == ApiType.Sacrifice) {
|
if (!game.getStack().isEmpty() && game.getStack().peekAbility().getApi() == ApiType.Sacrifice) {
|
||||||
return true; // interrupt sacrifice
|
if (!AnimateAi.isAnimatedThisTurn(aiPlayer, source)) {
|
||||||
|
this.rememberAnimatedThisTurn(aiPlayer, source);
|
||||||
|
return true; // interrupt sacrifice
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (!ComputerUtilCost.checkTapTypeCost(aiPlayer, sa.getPayCosts(), source, sa)) {
|
if (!ComputerUtilCost.checkTapTypeCost(aiPlayer, sa.getPayCosts(), source, sa)) {
|
||||||
return false; // prevent crewing with equal or better creatures
|
return false; // prevent crewing with equal or better creatures
|
||||||
|
|||||||
Reference in New Issue
Block a user