SMUnlimited / AMAI

Advanced Melee Artificial Intelligence Mod For Warcraft 3
Other
192 stars 31 forks source link

fix InitCheckHarvest cannot work #291

Closed jzy-chitong56 closed 2 months ago

jzy-chitong56 commented 3 months ago

InitCheckHarvest Cannot rely solely on GetMinesOwned() to determine so https://github.com/SMUnlimited/AMAI/issues/126 he said this cannot work now I change code , let the check must run

note not_taken_expansion 's modifications have not been completed yet, as they require modifications to all expand JOB , But I didn't have time to complete these modifications. Now, I have introduced a maximum number of attacks for these tasks, which prevents normal attacks on CREEP. It is suspected that I entered the sleep of other attack targets, causing the limit to exceed

There will definitely need multiple mergers

not_taken_expansion should use to Avoid multiple different expansion JOBs running simultaneously , -- It means literally, different JOBs EAI file Simultaneously avoiding both JOB expansion and StartExpansionAM targeting the same MINE

SMUnlimited commented 2 months ago

Merged via alternate commit