/tg/ Station 13 - Modules - Types

code/datums/ai/basic_mobs/basic_subtrees/run_away_from_target.dm

/datum/bt_node/subtree/run_away_from_targetFlee from BB_CURRENT_TARGET, gated by BB_BASIC_MOB_STOP_FLEEING. Computes a flee waypoint each loop via find_flee_location then moves to it.
/datum/bt_node/subtree/run_away_from_target/run_and_shootFlee variant that fires ranged attacks at the current target while moving.