mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-13 10:17:00 +08:00
Fix: Mis-click HOME when skipping story
- Fix daily hard when fleet lock disabled
This commit is contained in:
@@ -99,6 +99,8 @@ class InfoHandler(ModuleBase):
|
||||
if self.story_popup_timout.started() and not self.story_popup_timout.reached():
|
||||
if self.handle_popup_confirm('STORY_SKIP'):
|
||||
self.story_popup_timout = Timer(10)
|
||||
self.interval_reset(STORY_SKIP)
|
||||
self.interval_reset(STORY_LETTERS_ONLY)
|
||||
return True
|
||||
if self.appear_then_click(STORY_SKIP, offset=True, interval=2):
|
||||
self.story_popup_timout.reset()
|
||||
|
||||
@@ -220,6 +220,7 @@ class Reward(RewardCommission, RewardTacticalClass, RewardResearch, LoginHandler
|
||||
|
||||
_enable_daily_reward = False
|
||||
_fleet_auto_mode = ('combat_auto', 'combat_auto', 'combat_auto')
|
||||
_enable_map_fleet_lock = False
|
||||
|
||||
def reward_backup_daily_reward_settings(self):
|
||||
"""
|
||||
@@ -229,7 +230,10 @@ class Reward(RewardCommission, RewardTacticalClass, RewardResearch, LoginHandler
|
||||
self.config.ENABLE_DAILY_REWARD = False
|
||||
self._fleet_auto_mode = self.config.FLEET_1_AUTO_MODE, self.config.FLEET_2_AUTO_MODE, self.config.FLEET_3_AUTO_MODE
|
||||
self.config.FLEET_1_AUTO_MODE, self.config.FLEET_2_AUTO_MODE, self.config.FLEET_3_AUTO_MODE = ('combat_auto', 'combat_auto', 'combat_auto')
|
||||
self._enable_map_fleet_lock = self.config.ENABLE_MAP_FLEET_LOCK
|
||||
self.config.ENABLE_MAP_FLEET_LOCK = True
|
||||
|
||||
def reward_recover_daily_reward_settings(self):
|
||||
self.config.ENABLE_DAILY_REWARD = self._enable_daily_reward
|
||||
self.config.FLEET_1_AUTO_MODE, self.config.FLEET_2_AUTO_MODE, self.config.FLEET_3_AUTO_MODE = self._fleet_auto_mode
|
||||
self.config.ENABLE_MAP_FLEET_LOCK = self._enable_map_fleet_lock
|
||||
|
||||
Reference in New Issue
Block a user