{ type = "condition_owns_item" item = "weapon_shield" child = { type = "decorator_picker_reaction_time" input = "ShortTermAttackMemory" output = "Enemy" child = { type = "decorator_ranker_dist" input = "Enemy" child = { type = "decorator_picker_max_score" input = "Enemy" child = { type = "condition_is_empty" input = "Enemy" negated = 1 child = { type = "condition_distance_less" input = "Enemy" distance_threshold_min = 120 distance_threshold_max = 550 negated = 1 child = { type = "parallel" children = [ { type = "action_equip_item" item = "weapon_shield" }, { type = "decorator_repeat" child = { type = "action_aim" input = "Enemy" acquire_only = 1 } }, { type = "decorator_repeat" child = { type = "action_move_to" destination = "Enemy" movement_type = "BT_ACTION_MOVETO_RUN" route_type = "BT_ACTION_MOVETO_FASTEST_ROUTE" } } ] } } } } } } }