Basic AP (Action Points) system tied to the AI actions, but there's no way to set 'has AP' for the AI?

This commit is contained in:
Zed A. Shaw 2025-12-03 15:24:41 -05:00
parent c78b2ae75e
commit a38bb5b691
8 changed files with 64 additions and 18 deletions

View file

@ -89,6 +89,10 @@ namespace boss {
if(wants_to == "kill_enemy") {
result.enemy_did = enemy.combat->attack(player_combat);
}
break;
case combat::BattleHostState::out_of_ap:
fmt::println("OUT OF AP {}", wants_to);
break;
}
if(result.player_did > 0) {