mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-19 15:28:20 +08:00
Del: Comment guild mission auto choose
This commit is contained in:
@@ -133,13 +133,14 @@ class GuildLogistics(GuildBase):
|
|||||||
else:
|
else:
|
||||||
# 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):
|
return False
|
||||||
# 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
|
||||||
|
|
||||||
@Config.when(SERVER='jp')
|
@Config.when(SERVER='jp')
|
||||||
def _guild_logistics_mission_available(self):
|
def _guild_logistics_mission_available(self):
|
||||||
@@ -175,6 +176,7 @@ class GuildLogistics(GuildBase):
|
|||||||
# 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')
|
||||||
# Guild mission choose in JP server disabled until we get the screenshot.
|
# Guild mission choose in JP server disabled until we get the screenshot.
|
||||||
|
return False
|
||||||
# if self.image_color_count(GUILD_MISSION_CHOOSE, color=(255, 255, 255), threshold=221, count=100):
|
# if self.image_color_count(GUILD_MISSION_CHOOSE, color=(255, 255, 255), threshold=221, count=100):
|
||||||
# # Guild mission choose available if user is guild master
|
# # Guild mission choose available if user is guild master
|
||||||
# logger.info('Guild mission choose found')
|
# logger.info('Guild mission choose found')
|
||||||
@@ -215,13 +217,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):
|
return False
|
||||||
# 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('Guild mission button inactive')
|
logger.info('Guild mission button inactive')
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user