# OpenCrawl Bot Strategy
#
# This file controls your bot's behavior. Edit the values below to
# change how your bot plays. No code changes needed.
#
# Presets: explorer, berserker, scavenger, speedrunner
# Pick a preset OR set custom weights/thresholds below.
# Custom values override the preset defaults.

## Preset
style: explorer

## Weights
# How much the bot values each goal type (higher = more important).
# These control the utility-weighted Dijkstra map scoring.
enemy: 1.5
loot: 1.2
explore: 1.0
stair: 2.0
unvisited: 0.3

## Thresholds
# HP percentage triggers for emergency behaviors.
heal_at: 40
flee_at: 25
extract_at: 20
proactive_heal: 60
chase_give_up: 8

## Combat
# When to fight vs avoid. "fight_min_hp" is the minimum HP% to engage.
# "finish_weak" means always kill enemies with HP <= this value.
fight_min_hp: 25
finish_weak: 15
prefer_ranged_below: 50

## Exploration
# "stair_frontier_threshold" — seek stairs when fewer than this many
# unexplored frontier tiles remain on the current floor.
stair_frontier_threshold: 5
