SMUnlimited / AMAI

Advanced Melee Artificial Intelligence Mod For Warcraft 3
Other
210 stars 34 forks source link

Undead tried to buy 2 heroes at same time #439

Closed SMUnlimited closed 1 day ago

SMUnlimited commented 1 day ago

It trained a death knight and tried to buy a neutral hero before it went to tier 2. Was 24 players so maybe due to the delayed operations it somehow caused this to occur.

Was using necro strategy.

jzy-chitong56 commented 1 day ago

One logic is that it triggered the reacquisition of heroes, but buy hero job was not monitored

try https://github.com/jzy-chitong56/AMAI-CN/commit/e7a962a3bdb9d943f64d7b6032cf23f402fdbd02

SMUnlimited commented 1 day ago

Thanks and found some other issues with recalculation which i've resolved.