Modhold
Adventurer Guild
Freev2.0.0

Smarter Auto Combat

Your party finally plays like someone's paying attention. Replaces Auto Combat's decision making nonsense for your heroes: every skill gets used, healers stay back, archers keep range, tanks taunt, potions finally get used. Enemies

NonDescriptModder4 @TheNonDescriptModder
0Unique downloads
91Downloads, all sites
0Views
0Vouches
–no scores yetScore
Description

Turn on Auto in the base game and your Priest jogs to the front line, your Archer walks instead of shooting, and your potions sit unused while your tank dies. The auto battle added in the final patch (1.7) reuses the enemy AI, which skips bravery skills, stances and most area attacks, has no item logic at all, and scores stealth, shields and enchants as worthless. The game won't be updated, so it stays that way.

Smarter Auto Combat gives your heroes a new decision-maker whenever Auto is on. Enemies keep the game's AI, so fights aren't rebalanced. Your party just plays properly.

Works best with OAG Mod Menu.

New in 2.0

Version 2 is a big upgrade of the heroes' tactics. Every part has its own on/off setting (all on by default), so you can switch any of them back to the 1.0.2 behavior.
  • Smarter targets: enemies that heal, buff, debuff or summon go first, then ranged attackers, then tanks and minions. Wounded and already-engaged enemies get finished off. Summoners count for the summons they keep alive, and the enemy whose death ends the battle is a priority.
  • Area attacks that pay off: extra credit for hitting or killing several enemies at once, and area spells avoid your own heroes, healers most of all.
  • Party formation: ranged heroes and healers look two enemy turns ahead, stand behind the tank or fighters, and stay close to them. After a tank charges in, the back line re-forms a couple of tiles behind it instead of running into the enemy.
  • Healers: heal the hurt front-liner before buffing anyone, step up to heal when it's safe enough, and don't waste mana (or, with Self-Sacrifice, their own health) on buffs nobody needs.
  • Buffs where they count: shields, barriers, damage reduction and resistances go to the hero actually taking hits (usually the tank); damage buffs go to the hardest hitters.
  • Mages and archers attack first: a buff has to clearly beat their best attack, and they stand at the range most of their spells actually reach.
  • Arrow stances: archers switch between Heavy, Light, Piercing and Marked Arrows when it pays off.
  • Multi-target skills: Multishot, Earth Surge and Unleash The Beasts (all three companions at once) are used. Beastmasters pick the companion that fits the fight (bear, eagle or wolf).
  • Cover: tanks cover a threatened, fragile ally.
  • Decoys: placed only where enemies that threaten your fragile heroes will be taunted.
  • Rogues: use stealth for real ambushes, but only with a way out: an ally nearby, Shadowstep ready to escape, or a likely kill.
  • Smarter items: mana potions go to heroes who need mana for their spells, nothing is used on a hero at 85% or more, and a hurt hero waits for a healer who still acts this round.
  • Avoids traps and fire when moving or leaping, where it can see them.
  • Thinks faster than 1.0.2 with the same choices.
Optional gameplay tweak: more actions per turn (off by default)

HeroMaxAP is not part of the AI and changes the game's balance, so it is off unless you turn it on. In the game a hero's turn is 3 action points plus a move that can be spent as a 4th point.

Set HeroMaxAP to 5 for 4 points plus the move, or 6 for 5 points plus the move. It applies to your heroes only (enemies are unchanged), works with or without Auto Combat, and takes effect from the next turn. Set it back to 0 to return to the game's rule.
Installation instructions

Windows

  1. Install BepInEx 5: download BepInEx_win_x64_5.4.23.x.zip and extract it into the game folder (Steam → right-click the game → Manage → Browse local files). You should see winhttp.dll and a BepInEx folder next to Our Adventuring Guild.exe.
  2. Start the game once to the main menu and quit (BepInEx creates its folders).
  3. Extract this mod's zip into the same game folder. The DLL ends up at BepInEx/plugins/SmarterAutoCombat/SmarterAutoCombat.dll.
  4. Play, and turn on Auto in battle.


Steam Deck

  1. In Desktop Mode, do steps 1 and 3 above in the game's folder (Steam → right-click the game → Manage → Browse local files).
  2. Right-click the game → Properties → Launch Options, and enter:
    WINEDLLOVERRIDES="winhttp=n,b" %command%
  3. Start the game once to the main menu and quit, then switch back to Gaming Mode. The mod works there too.


Uninstall: delete BepInEx/plugins/SmarterAutoCombat. Your saves are never changed.
SpoilerSettings live in BepInEx/config/nondescriptmodder.oag.smarterautocombat.cfg after the first launch (edit with the game closed). The useful ones: Enabled (false = the original auto combat), UseItems, MaxItemTier (default UNCOMMON), Reserve (items kept back, default 1), ControlSummons, UseBraverySkills and FrameBudgetFraction (lower = smoother, slower decisions).

Bug reports: set DecisionLog = true, replay the fight, and post BepInEx/plugins/SmarterAutoCombat/decisions.log and BepInEx/LogOutput.log in the Bugs tab.

Main features
  • Uses every equipped skill, including area attacks, stances, bravery skills, stealth, enchants, shields, debuffs, summons and teleports. Bravery is saved for big plays.
  • Healers heal first, pre-cast shields and stay out of reach. Archers and casters shoot first, then kite, and like high ground. Tanks taunt whatever is heading for your squishier heroes.
  • Heroes in danger heal themselves, retreat toward the healer, and get help from allies. Protected mission NPCs come first.
  • Uses potions and other consumables from the party inventory, but never Rare-or-better items, and keeps one of each in reserve until someone is in danger.
  • Matches protection buffs and weapon enchants to the enemies, never uses an element on an enemy it heals (no Fire Breath on fire dragons), and kills dangerous adds and boss-reviving orbs first.
  • Summoners summon at the start of a fight and re-summon when one dies. Your pets and summons use the smart AI too.
  • Thinks in small slices (about 10% of each frame), so low-end PCs and the Steam Deck stay smooth. If anything goes wrong, it hands the turn back to the game's AI.

Requirements
  • Our Adventurer Guild version 1.7 (the final version)
  • BepInEx 5 (5.4.23 or newer 5.x, Windows x64 build). Don't use the 6.0 pre-releases.
  • Optional (Recommended): OAG Mod Menu
Single-player only. Works alongside other BepInEx mods that don't replace the auto-combat AI.
Shout outs
  • TheGreenGuy for Our Adventurer Guild.
  • The BepInEx and HarmonyX teams for the mod loader and patching tools.
  • The Steam players who documented everything wrong with auto battle in this thread.
Smarter Auto Combat is an unofficial Our Adventurer Guild modification.

Our Adventurer Guild © GreenGuy.

Smarter Auto Combat is not affiliated with, endorsed by, or officially associated with GreenGuy.

Requirements

Credits

TheNonDescriptModder

Permissions

Posted for NonDescriptModder on their own account at their request (the author asked Modhold to move their whole profile: "That would be awesome Seth, how exactly do you go about it?"). The files are the author's own, unchanged.

Before you download

This mod needs other mods

Smarter Auto Combat needs this to work. Download and install it too.

Required 1

  • BepInEx 5 its original page
    Required for all my mods.
Modhold needs you: authors wanted
Modhold is growing

Authors, we need you

Players are joining every day and they're looking for mods. Post yours on a site with written rules, fair moderation and free downloads for players. Nothing gets pulled for the tools you used.

295Joined today
862Joined all time