mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-23 12:08:01 +08:00
Merge pull request #361 from noname94/patch1
Fix: [JP] Guild mission choose disabled until we get the screenshot
This commit is contained in:
@@ -174,13 +174,14 @@ class GuildLogistics(GuildBase):
|
|||||||
elif not self.image_color_count(GUILD_MISSION, color=(255, 255, 255), threshold=180, count=50):
|
elif not self.image_color_count(GUILD_MISSION, color=(255, 255, 255), threshold=180, count=50):
|
||||||
# No guild mission counter
|
# No guild mission counter
|
||||||
logger.info('No guild mission found, mission of this week may not started')
|
logger.info('No guild mission found, mission of this week may not started')
|
||||||
if self.image_color_count(GUILD_MISSION_CHOOSE, color=(255, 255, 255), threshold=221, count=100):
|
# Guild mission choose in JP server disabled until we get the screenshot.
|
||||||
# Guild mission choose available if user is guild master
|
# if self.image_color_count(GUILD_MISSION_CHOOSE, color=(255, 255, 255), threshold=221, count=100):
|
||||||
logger.info('Guild mission choose found')
|
# # Guild mission choose available if user is guild master
|
||||||
return True
|
# logger.info('Guild mission choose found')
|
||||||
else:
|
# return True
|
||||||
logger.info('Guild mission choose not found')
|
# else:
|
||||||
return False
|
# logger.info('Guild mission choose not found')
|
||||||
|
# return False
|
||||||
else:
|
else:
|
||||||
logger.info('Unknown guild mission condition. Skipped.')
|
logger.info('Unknown guild mission condition. Skipped.')
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user