mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-28 11:28:10 +08:00
Upd: correct 'triggred' to 'triggered'
This commit is contained in:
@@ -50,7 +50,7 @@ class GemsEmotion(Emotion):
|
|||||||
|
|
||||||
recovered, delay = self._check_reduce(battle)
|
recovered, delay = self._check_reduce(battle)
|
||||||
if delay:
|
if delay:
|
||||||
self.config.GEMS_EMOTION_TRIGGRED = True
|
self.config.GEMS_EMOTION_TRIGGERED = True
|
||||||
logger.info('Detect low emotion, pause current task')
|
logger.info('Detect low emotion, pause current task')
|
||||||
raise CampaignEnd('Emotion control')
|
raise CampaignEnd('Emotion control')
|
||||||
|
|
||||||
@@ -73,7 +73,7 @@ class GemsCampaignOverride(CampaignBase):
|
|||||||
return result
|
return result
|
||||||
|
|
||||||
if self.handle_popup_cancel('IGNORE_LOW_EMOTION'):
|
if self.handle_popup_cancel('IGNORE_LOW_EMOTION'):
|
||||||
self.config.GEMS_EMOTION_TRIGGRED = True
|
self.config.GEMS_EMOTION_TRIGGERED = True
|
||||||
logger.hr('EMOTION WITHDRAW')
|
logger.hr('EMOTION WITHDRAW')
|
||||||
|
|
||||||
while 1:
|
while 1:
|
||||||
@@ -650,7 +650,7 @@ class GemsFarming(CampaignRun, Dock, EquipmentChange, GemsEquipmentHandler):
|
|||||||
logger.hr('TRIGGERED LV32 LIMIT')
|
logger.hr('TRIGGERED LV32 LIMIT')
|
||||||
return True
|
return True
|
||||||
|
|
||||||
if self.campaign.config.GEMS_EMOTION_TRIGGRED:
|
if self.campaign.config.GEMS_EMOTION_TRIGGERED:
|
||||||
self._trigger_emotion = True
|
self._trigger_emotion = True
|
||||||
logger.hr('TRIGGERED EMOTION LIMIT')
|
logger.hr('TRIGGERED EMOTION LIMIT')
|
||||||
return True
|
return True
|
||||||
@@ -718,7 +718,7 @@ class GemsFarming(CampaignRun, Dock, EquipmentChange, GemsEquipmentHandler):
|
|||||||
self._trigger_lv32 = False
|
self._trigger_lv32 = False
|
||||||
self._trigger_emotion = False
|
self._trigger_emotion = False
|
||||||
self.campaign.config.LV32_TRIGGERED = False
|
self.campaign.config.LV32_TRIGGERED = False
|
||||||
self.campaign.config.GEMS_EMOTION_TRIGGRED = False
|
self.campaign.config.GEMS_EMOTION_TRIGGERED = False
|
||||||
|
|
||||||
# Scheduler
|
# Scheduler
|
||||||
if self.config.task_switched():
|
if self.config.task_switched():
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ class ManualConfig:
|
|||||||
"""
|
"""
|
||||||
module.campaign.gems_farming
|
module.campaign.gems_farming
|
||||||
"""
|
"""
|
||||||
GEMS_EMOTION_TRIGGRED = False
|
GEMS_EMOTION_TRIGGERED = False
|
||||||
|
|
||||||
"""
|
"""
|
||||||
module.handler
|
module.handler
|
||||||
|
|||||||
Reference in New Issue
Block a user