Skip to content

3.6.0

Choose a tag to compare

@SMUnlimited SMUnlimited released this 08 Feb 18:27
· 143 commits to master since this release

Added

  • Support for 2.0.4, increasing optimal version for REFORGED scripts.
  • Humans and orcs are now aware of safe spare mines near allies and will expand to them instead of ignoring them.
  • All races can now perform a successful tower rush at the start of the game or via commander, not just orc players and also make use of items like sacrificial skull and ivory towers. (jzy-chitong56)
  • (DevTools) Added new game setting "custom_data_set" which if set to true will make attempted changes to make AMAI work with the custom 1.0.1 dataset used in custom maps. Its just a quick fix and not optimal but they will least upgrade to the next tier when set.

Changed

  • Reforged Wand of Negation cost updated from 150 to 120 for 2.0.4 data.
  • Reworked expansion rebuild logic
    • It interrupts current expansion if its newly lost rather than once the current expansion choice is expanded to.
    • It has an 80% chance to rebuild an expansion. 20% to pick a standard expansion.
  • Reworked town tracking system such that own towns and enemy towns are now combined under the same system to reduce inconsistencies.
    • Stability fixes to town tracking, towns are now permanent.
    • Home town does a better job of being able to change instead of fixed to town 0. Towns with both a mine and hall will be a little bit more valuable.
    • Town defense can occur on all future towns not just 2 mines worth of expansions.
  • When counter unit changes, re-evaluate build order faster to stop building old counters.
  • Heroes will buy from racial shops in a wider radius of 3000 up from 1000 as this is still close by, even if an attack is running or town needs defending.
  • Insane AMAI now need 25% less gold and wood to be able to share the extra with other players as they earn alot more.
  • AMAI will be a bit more careful when sending a peon to build an expansion. If enemy is present it will wait for dangers to pass. Insane difficulty goes further and will check the expansion location itself is safe.
  • AMAI will now also buy items from goblin merchants during an attack if hero is close by to the store.
  • AMAI will now move its units that need healing together with the town that needs the most defense to help shore up defense.
  • DefendTownsCond fixes and it only counts completed units.
  • Increased strength of towers so they more of a threat, and made all ancients have a passive strength as they can hit back.
  • Hero chance rebalancement to ensure all heroes still have a chance to be picked some were basically 0 and some were nearly always garunteed.

Removed

  • (DevTools) max_towns global setting has been removed as it is no longer applicable.

Fixed

  • Fixed an issue where reloading a saved game with AMAI vs AI would crash the game in REFORGED.
    • (DevTools) BREAKING CHANGE all unitids in strategies are now prefixed with a 'u'. The previous ids are only to support the vanilla AI. This is a BREAKING CHANGE for custom strategies. This is only required in strategies and some racial settings, everywhere else automatically handles adding the 'u'.
  • Fixed chat messages based on profile name not running as was still using ai_name which hasn't matched for a long time. (jzy-chitong56)
  • Fix rush value check not correctly taking account of uneven enemies vs allies.
  • Fix an issue where refunded blocking units could return additional resources.
  • Some pathing checks don't need to be created as the current player so ensured they use neutral passive to avoid confusing the AI and stats.
  • Add protection against bad strategies crashing the build queue.
  • Avoid constantly setting the captain locations to same location to reduce any side effects within hardcoded ai functions.
  • Fix an issue where towers could be built next to ancient expansion while it was still expanding/creeping the mine.
  • Fixed an issue where multiple upgrades or a failure to start an upgrade caused the upgrade to go missing from the build queue which means it wouldn't retry until the build queue is re-evaluated.
  • Fixed orc and human players getting stuck unable to expand due to bad placement of the town hall, they will now skip it and expand elsewhere if possible.
  • Item expansion will now check placement of a bad town as above.
  • Item expansion after 3 attempts to buy the item, will switch to normal expansion to avoid blocking orcs from expanding as they always in combat.
  • Workaround hardcoded issue where revive hero costs are not actually evaluated correctly.
  • Fixed some attack regrouping with nearby allies not functioning correctly.
  • Fixed an issue where last known captain location didn't match ally target.
  • Fixed an issue where AI was constantly sharing gold and wood with each other for no reason. Only share with those with low gold and wood.
  • Fixed an issue where the price of tier 3 upgrade was more expensive than it should be.
  • Prevent Elf Barracks Rush triggering on mine creeps as they usually too strong and creeps will usually destroy it early.
  • Reign of chaos version now inherits fix to be able to stand down peons from burrows.
  • Fixed an issue where captain location was sometimes set to 0,0 on a map due to location being removed.
  • Fixed an issue where during flee, units didn't flee. Now all units will be forced to flee.
  • Fix an issue where a mine is detected as a land mine incorrectly, now it will abandon the attack.
  • (DevTools) Added tower type for units, so we can detect towers before construction is completed.
  • (DevTools) Fixed ApplyTableChanges.pl and which ensures all settings files are back to being consistent with each other.