1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-11 23:18:22 +08:00

Fix: urgent commission undetected and HazardLevel 2 for OpsiMeowfficerFarming

This commit is contained in:
2025-07-04 04:18:54 +08:00
parent 59a7f7e4f8
commit 65df2c848c
16 changed files with 24 additions and 70 deletions

View File

@@ -208,8 +208,6 @@ class RewardCommission(UI, InfoHandler):
# which causes the topmost one undetected.
if not COMMISSION_SCROLL.appear(main=self) or COMMISSION_SCROLL.cal_position(main=self) < 0.05 or COMMISSION_SCROLL.length / COMMISSION_SCROLL.total > 0.98:
pre_peaks = lines_detect(self.device.image)
if not len(pre_peaks):
return True
self.device.screenshot()
while 1:
peaks = lines_detect(self.device.image)