|
|
@ -217,7 +217,7 @@ TEST_CASE("confirm that cycles are avoided/detected", "[ai]") { |
|
|
|
auto start = ai::load_state("initial"); |
|
|
|
auto start = ai::load_state("initial"); |
|
|
|
auto goal = ai::load_state("final"); |
|
|
|
auto goal = ai::load_state("final"); |
|
|
|
|
|
|
|
|
|
|
|
RitualAI ritual("actions", start, goal); |
|
|
|
combat::RitualAI ritual("actions", start, goal); |
|
|
|
ritual.reset(); |
|
|
|
ritual.reset(); |
|
|
|
ritual.set_state("has_magick", true); |
|
|
|
ritual.set_state("has_magick", true); |
|
|
|
ritual.set_state("cursed_item", true); |
|
|
|
ritual.set_state("cursed_item", true); |
|
|
|