From 355f4d8fcf4374b596b7245046a8a82d9efaf998 Mon Sep 17 00:00:00 2001 From: SMUnlimited Date: Fri, 8 Mar 2024 17:37:21 +0000 Subject: [PATCH] Changelog and minor fix --- CHANGELOG.md | 8 ++++++-- Jobs/DETECT_DEFEAT.eai | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0867dbdbc..43f6e9314 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,12 +6,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ## Unreleased ### Added -- If human player constructs an expansion where the AI is, allied AI's will immediately give up the location if the player attacks the expansion. +- If human player constructs an expansion where the AI is, allied AI's will immediately give up the expansion location if the player attacks the expansion. ### Fixed - Some more double expansion minor fixes correcting claim counts being off in some edge cases. - Double expansion retry for humans, orcs and nightelfs should now be successful. - +- Some debug cache fixes. (jzy-chitong56) +- Fix exchange behaviour to only include players currently playing. (jzy-chitong56) +- Some detect defeat optimizations during emergency actions. (jzy-chitong56) +- Fixed issue with hidden and dead units being considered during detect defeat actions. (jzy-chitong56) +- (DevTools) AMAI will correctly only make the vanilla AI files using AMAI VS AI. (jzy-chitong56) ## [3.3.3a] - 2024-03-02 diff --git a/Jobs/DETECT_DEFEAT.eai b/Jobs/DETECT_DEFEAT.eai index 3669fc366..83dbd9fa8 100644 --- a/Jobs/DETECT_DEFEAT.eai +++ b/Jobs/DETECT_DEFEAT.eai @@ -331,7 +331,7 @@ function DetectDefeatJob takes nothing returns nothing if desperation_assault == true and (TownCount(race_manual_loading_mine) > 0 or not HallsCompleted(racial_expansion) or GetMinesOwned() > 0) then set desperation_assault = false endif - if not player_defeated and not pathing_done then + if not player_defeated then call TQAddJob(13 * sleep_multiplier, DETECT_DEFEAT, 0) endif set p = null