mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-14 04:56:04 +08:00
add auto search gems farming
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
from module.exception import CampaignEnd
|
||||
from campaign.campaign_hard.campaign_hard import Config
|
||||
from scipy import signal
|
||||
|
||||
from module.base.base import ModuleBase
|
||||
@@ -114,6 +116,18 @@ class InfoHandler(ModuleBase):
|
||||
self.device.click(GET_MISSION)
|
||||
return appear
|
||||
|
||||
@Config.when(GEMS_AUTO_SEARCH_FARMING = True)
|
||||
def handle_combat_low_emotion(self):
|
||||
if not self.config.IGNORE_LOW_EMOTION_WARN:
|
||||
return False
|
||||
|
||||
self.config.GEMS_EMOTION_TRIGGRED = True
|
||||
self.handle_popup_confirm('IGNORE_LOW_EMOTION')
|
||||
|
||||
raise CampaignEnd
|
||||
|
||||
|
||||
|
||||
def handle_combat_low_emotion(self):
|
||||
if not self.config.IGNORE_LOW_EMOTION_WARN:
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user