Improved the code so it uses ai::EntityAI and it now will find healing when it gets low. Has a bug where it stalls when finding healing and gets into combat.

This commit is contained in:
Zed A. Shaw 2025-09-07 23:56:24 -04:00
parent 7207d53885
commit 0afaa20c1d
4 changed files with 31 additions and 29 deletions

View file

@ -41,7 +41,7 @@ struct Autowalker {
bool player_health_good();
void player_use_healing();
InventoryStats player_item_count();
ai::State update_state(ai::State start);
void update_state(ai::EntityAI& player_ai);
DinkyECS::Entity camera_aim();
Pathing path_to_enemies();