mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Add very basic logic for Divine Reckoning
This commit is contained in:
@@ -115,6 +115,13 @@ public class RepeatEachAi extends SpellAbilityAi {
|
||||
}
|
||||
}
|
||||
return false;
|
||||
} else if ("OpponentHasMultipleCreatures".equals(logic)) {
|
||||
for (Player opp : aiPlayer.getOpponents()) {
|
||||
if (opp.getCreaturesInPlay().size() > 1){
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// TODO Add some normal AI variability here
|
||||
|
||||
Reference in New Issue
Block a user