1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 15:36:59 +08:00

Merge pull request #3180 from LmeSzinc/dev

Bug fix
This commit is contained in:
LmeSzinc
2023-10-06 00:26:24 +08:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@@ -84,8 +84,9 @@ class ConnectionAttr:
except ValueError:
pass
# 夜神模拟器 127.0.0.1:62001
# MuMu模拟器12127.0.0.1:16384
if '模拟' in serial:
res = re.search(r'(\d+\.\d+\.\d+\.\d+:\d+)', serial)
res = re.search(r'(127\.\d+\.\d+\.\d+:\d+)', serial)
if res:
serial = res.group(1)
return str(serial)

View File

@@ -92,7 +92,7 @@ class MeowfficerEnhance(MeowfficerBase):
break
# Exit if button is empty slot
if self.image_color_count(button, color=(231, 223, 221), threshold=221, count=450):
if self.image_color_count(button, color=(231, 223, 221), threshold=235, count=450):
break
# Continue onto next if button