1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-18 21:09:29 +08:00

Merge branch 'LmeSzinc:master' into master

This commit is contained in:
Zuosizhu
2023-07-15 06:48:33 +08:00
committed by GitHub
92 changed files with 444 additions and 137 deletions

View File

@@ -149,6 +149,7 @@ class Raid(MapOperation, RaidCombat, CampaignEvent):
"""
logger.info('Combat preparation.')
skip_first_screenshot = True
# No need, already waited in `raid_execute_once()`
# if emotion_reduce:
# self.emotion.wait(fleet_index)
@@ -243,9 +244,9 @@ class Raid(MapOperation, RaidCombat, CampaignEvent):
break
def raid_expected_end(self):
if self.appear_then_click(RAID_REWARDS, offset=(30,30), interval=3):
if self.appear_then_click(RAID_REWARDS, offset=(30, 30), interval=3):
return False
return self.appear(RAID_CHECK, offset=(30,30))
return self.appear(RAID_CHECK, offset=(30, 30))
def raid_execute_once(self, mode, raid):
"""