AI now follows the A* algorithm more closely by using a separate priority queue from the open_set.
This commit is contained in:
parent
72951f308f
commit
922fbeba0e
9 changed files with 72 additions and 75 deletions
|
@ -25,6 +25,7 @@ TEST_CASE("RitualEngine basic tests", "[rituals]") {
|
|||
re.set_state(ritual, "has_spikes", true);
|
||||
re.plan(ritual);
|
||||
|
||||
/*
|
||||
fmt::println("\n\n------------ TEST WILL DO MAGICK TOO");
|
||||
ritual.dump();
|
||||
REQUIRE(ritual.will_do("magick_type"));
|
||||
|
@ -47,6 +48,7 @@ TEST_CASE("RitualEngine basic tests", "[rituals]") {
|
|||
re.plan(ritual);
|
||||
fmt::println("\n\n------------ TEST WILL DO LARGE DAMAGE BOOST");
|
||||
ritual.dump();
|
||||
*/
|
||||
}
|
||||
|
||||
TEST_CASE("confirm that cycles are avoided/detected", "[rituals]") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue