Make advanced grind AI production-ready for live AC - #1
Merged
Conversation
Switch grind.lua to the strategy framework with survive/rest/class rotations, fix Charge/path rubber-banding, power-gated casts, profile loading, and live-validated targeting so low-level bots actually close and kill.
Fix rest_if_low arming rest_until before yielding to loot, drop combat stop_moving thrash in survive_low_health, lock server-relocate pose writes, share noPowerUntil via CanCast, remove optimistic warrior mark_nopower, and wire grind_chase into select/engage paths.
walkline
commented
Jul 26, 2026
Collaborator
Author
|
Addressed all review threads in fe8179f:
All six threads resolved. CI should re-run on the new commit. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
scripts/grind.luato the advanced strategy AI (survive, rest, grind, loot, melee, single class spec) with level-1 GM combat prep.bot_mode/ flags correctly;--lua-scriptforces Lua mode.engage_ranged(which froze bots staring from 8–25y).Test plan
go test ./bot/ -run 'TestAdvanced|TestCharge|TestCastCharge|TestSummon'./azghost --profile local-ac cli --char-name ChargeBot --class 1 --race 1 --lua-script scripts/grind.lua --delete-existing-chars --duration 55sServer relocate, multiple kills, no stance spam every 15s