mirror of
https://github.com/LmeSzinc/AzurLaneAutoScript.git
synced 2025-01-08 12:27:33 +08:00
Fix: Skip maa annihilation error task callback temporary (#4231)
* Fix: Skip maa annihilation error task callback temporary * optimize error check * optimize error check * delete log
This commit is contained in:
parent
f95f51b165
commit
51136dc2f0
@ -129,8 +129,12 @@ class AssistantHandler:
|
||||
self.callback_list.remove(self.penguin_id_callback)
|
||||
|
||||
def annihilation_callback(self, m, d):
|
||||
if m == self.Message.SubTaskError:
|
||||
self.signal = m
|
||||
# Skip annihilation error task callback temporary
|
||||
# https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/10623
|
||||
ignoreErrorKeywords = ["FightSeries-Indicator","FightSeries-Icon"]
|
||||
if m == self.Message.SubTaskError \
|
||||
and deep_get(d, keys='first') != ignoreErrorKeywords:
|
||||
self.signal = m
|
||||
|
||||
def fight_stop_count_callback(self, m, d):
|
||||
if m == self.Message.SubTaskCompleted:
|
||||
|
Loading…
Reference in New Issue
Block a user