mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- No need to limit the phase in SetPT logic itself (AnimateAi).
This commit is contained in:
@@ -358,7 +358,6 @@ public class AnimateAi extends SpellAbilityAi {
|
|||||||
Card worst = ComputerUtilCard.getWorstCreatureAI(ai.getCreaturesInPlay());
|
Card worst = ComputerUtilCard.getWorstCreatureAI(ai.getCreaturesInPlay());
|
||||||
Card buffed = becomeAnimated(worst, sa);
|
Card buffed = becomeAnimated(worst, sa);
|
||||||
|
|
||||||
if (ph.is(PhaseType.MAIN1, ai)) {
|
|
||||||
if (ComputerUtilCard.doesSpecifiedCreatureAttackAI(ai, buffed)
|
if (ComputerUtilCard.doesSpecifiedCreatureAttackAI(ai, buffed)
|
||||||
&& (buffed.getNetPower() - worst.getNetPower() >= 3 || !ComputerUtilCard.doesCreatureAttackAI(ai, worst))) {
|
&& (buffed.getNetPower() - worst.getNetPower() >= 3 || !ComputerUtilCard.doesCreatureAttackAI(ai, worst))) {
|
||||||
sa.getTargets().add(worst);
|
sa.getTargets().add(worst);
|
||||||
@@ -366,7 +365,6 @@ public class AnimateAi extends SpellAbilityAi {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// This is reasonable for now. Kamahl, Fist of Krosa and a sorcery or
|
// This is reasonable for now. Kamahl, Fist of Krosa and a sorcery or
|
||||||
// two are the only things
|
// two are the only things
|
||||||
|
|||||||
Reference in New Issue
Block a user