Skip to main content

EncounterAi

6 tools in this family (folder Editor/Tools/EncounterAi/ in the bridge package). Effect: writes changes the project or the scene, read-only does not, destructive deletes or overwrites and the client asks before running it.

ToolEffectDescription
encounter_create_definition_assetwritesMaterialize an EncounterSpec into a Unity ScriptableObject .asset using the Definition type
encounter_difficulty_estimateread-onlyCompute a difficulty score for an EncounterSpec from total enemy HP × wave count × boss-phase
encounter_export_dot_graphwritesExport a Graphviz DOT graph (wave nodes → boss-phase nodes → final-wave node) for designer
encounter_generate_codewritesEmit three runtime .cs files for the EncounterSpec into Assets/_Game/Encounters/:
encounter_propose_from_promptread-onlyValidate and normalize a wave/encounter that YOU write: enemy types,
encounter_validate_specread-onlyValidate an EncounterSpec JSON for internal consistency: monotonic wave_index, descending