Autowalker AI now knows when it has items, and knows it should find healing, but it's not working quite yet.
This commit is contained in:
parent
d15c9b12fd
commit
0623170dbc
6 changed files with 97 additions and 49 deletions
|
@ -148,6 +148,8 @@ TEST_CASE("ai autowalker ai test", "[ai]") {
|
|||
|
||||
// health is low, go heal
|
||||
ai::set(result, "health_good", false);
|
||||
ai::set(result, "in_combat", false);
|
||||
ai::set(result, "enemy_found", false);
|
||||
REQUIRE(!ai::test(result, "health_good"));
|
||||
|
||||
auto health_plan = ai::plan("Walker::actions", result, goal);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue