mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-13 10:17:00 +08:00
1. 很多函数直接在 gems_farming 里覆盖就可以了, 不要直接在底层里加
因为只是 gems_farming 自己用的, 不是通用的
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
from module.exception import EmotionWithdraw
|
||||
from module.config.config import AzurLaneConfig
|
||||
from module.base.decorator import Config
|
||||
from scipy import signal
|
||||
@@ -117,18 +116,6 @@ 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
|
||||
|
||||
if self.handle_popup_cancel('IGNORE_LOW_EMOTION'):
|
||||
self.config.GEMS_EMOTION_TRIGGRED = True
|
||||
raise EmotionWithdraw
|
||||
else:
|
||||
return False
|
||||
|
||||
|
||||
@Config.when(GEMS_AUTO_SEARCH_FARMING=False)
|
||||
def handle_combat_low_emotion(self):
|
||||
if not self.config.IGNORE_LOW_EMOTION_WARN:
|
||||
|
||||
Reference in New Issue
Block a user