mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- Reckless AI's will now trade more willingly when blocking.
This commit is contained in:
@@ -736,6 +736,9 @@ public class AiBlockController {
|
||||
List<Card> chumpBlockers;
|
||||
|
||||
diff = (ai.getLife() * 2) - 5; // This is the minimal gain for an unnecessary trade
|
||||
if (diff > 0 && ((PlayerControllerAi) ai.getController()).getAi().getProperty(AiProps.PLAY_AGGRO).equals("true")) {
|
||||
diff = 0;
|
||||
}
|
||||
|
||||
// remove all attackers that can't be blocked anyway
|
||||
for (final Card a : attackers) {
|
||||
|
||||
Reference in New Issue
Block a user