mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Little AI improvement for bounce spells (will only be used before own main2 if the AI controls creatures).
This commit is contained in:
@@ -1386,6 +1386,12 @@ public final class AbilityFactory_ChangeZone {
|
||||
|
||||
// Exile and bounce opponents stuff
|
||||
if (destination.equals(Zone.Exile) || origin.equals(Zone.Battlefield)) {
|
||||
|
||||
//don't rush bouncing stuff when not going to attack
|
||||
if(AllZone.getPhase().isBefore(Constant.Phase.MAIN2) && AllZone.getPhase().isPlayerTurn(AllZone.getComputerPlayer())
|
||||
&& AllZoneUtil.getCreaturesInPlay(AllZone.getComputerPlayer()).isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
list = list.getController(AllZone.getHumanPlayer());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user