diff --git a/alas.py b/alas.py index c747ba496..e0860b4d1 100644 --- a/alas.py +++ b/alas.py @@ -712,6 +712,20 @@ class AzurLaneAutoScript: content=f"<{self.config_name}> RequestHumanTakeover", ) exit(1) + except GameNotRunningError as e: + if str(e) == "Game died": + logger.warning("Game died when restarting") + self.is_first_task = False + continue + else: + logger.exception(e) + self.save_error_log() + handle_notify( + self.config.Error_OnePushConfig, + title=f"Alas <{self.config_name}> crashed", + content=f"<{self.config_name}> Exception occured", + ) + exit(1) except Exception as e: logger.exception(e) self.save_error_log() diff --git a/campaign/event_20250814_cn/ht1.py b/campaign/event_20250814_cn/ht1.py index f7fd51596..7a89e3098 100644 --- a/campaign/event_20250814_cn/ht1.py +++ b/campaign/event_20250814_cn/ht1.py @@ -73,7 +73,9 @@ class Config: MAP_SWIPE_MULTIPLY = (1.267, 1.290) MAP_SWIPE_MULTIPLY_MINITOUCH = (1.225, 1.248) MAP_SWIPE_MULTIPLY_MAATOUCH = (1.189, 1.211) - + STAGE_INCREASE_CUSTOM = [ + 'HT1 > HT2 > HT3 > HT4 > HT5 > HT6', + ] class Campaign(CampaignBase): MAP = MAP diff --git a/campaign/event_20250814_cn/t1.py b/campaign/event_20250814_cn/t1.py index 19470fc9e..ec7118672 100644 --- a/campaign/event_20250814_cn/t1.py +++ b/campaign/event_20250814_cn/t1.py @@ -73,7 +73,9 @@ class Config: MAP_SWIPE_MULTIPLY = (1.267, 1.290) MAP_SWIPE_MULTIPLY_MINITOUCH = (1.225, 1.248) MAP_SWIPE_MULTIPLY_MAATOUCH = (1.189, 1.211) - + STAGE_INCREASE_CUSTOM = [ + 'HT1 > HT2 > HT3 > HT4 > HT5 > HT6', + ] class Campaign(CampaignBase): MAP = MAP