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:
parent
c78b2ae75e
commit
a38bb5b691
8 changed files with 64 additions and 18 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue