Can now run the full AI for all combatants and then sort by the action costs to make the action queue.
This commit is contained in:
parent
d244106981
commit
b48df3f4db
10 changed files with 104 additions and 59 deletions
|
|
@ -82,7 +82,6 @@
|
|||
"name": "use_healing",
|
||||
"cost": 1,
|
||||
"needs": {
|
||||
"have_item": true,
|
||||
"have_healing": true,
|
||||
"health_good": false
|
||||
},
|
||||
|
|
@ -133,6 +132,7 @@
|
|||
"kill_enemy",
|
||||
"collect_items",
|
||||
"find_healing",
|
||||
"run_away",
|
||||
"use_healing"],
|
||||
"Enemy::actions":
|
||||
["find_enemy", "run_away", "kill_enemy", "use_healing"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue