mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
- Added AI logic to the "Tap to get {E}" ability of Consulate Turret.
This commit is contained in:
@@ -324,6 +324,12 @@ public class CountersPutAi extends SpellAbilityAi {
|
||||
}
|
||||
|
||||
PhaseHandler ph = ai.getGame().getPhaseHandler();
|
||||
|
||||
if ("AlwaysAtOppEOT".equals(sa.getParam("AILogic"))) {
|
||||
if (ph.is(PhaseType.END_OF_TURN) && !ph.isPlayerTurn(ai)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
if (!ai.getGame().getStack().isEmpty() && !SpellAbilityAi.isSorcerySpeed(sa)) {
|
||||
final TargetRestrictions abTgt = sa.getTargetRestrictions();
|
||||
|
||||
Reference in New Issue
Block a user