1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-05-13 00:42:10 +08:00

Upd: detect 5 story options at max (#5653)

This commit is contained in:
LmeSzinc
2026-05-11 19:25:06 +08:00
parent 0f679ce3e8
commit f5e9952fc3

View File

@@ -340,8 +340,8 @@ class InfoHandler(ModuleBase):
list[Button]: List of story options, from upper to bottom. If no option found, return an empty list.
"""
# Area to detect the options, should include at least 3 options.
story_option_area = (330, 200, 980, 465)
story_detect_area = (330, 200, 355, 465)
story_option_area = (330, 135, 980, 555)
story_detect_area = (330, 135, 355, 555)
story_option_color = (247, 247, 247)
image = color_similarity_2d(self.image_crop(story_detect_area, copy=False), color=story_option_color)