mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 06:18:21 +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)
|
||||
if delay:
|
||||
self.config.GEMS_EMOTION_TRIGGRED = True
|
||||
self.config.GEMS_EMOTION_TRIGGERED = True
|
||||
logger.info('Detect low emotion, pause current task')
|
||||
raise CampaignEnd('Emotion control')
|
||||
|
||||
@@ -73,7 +73,7 @@ class GemsCampaignOverride(CampaignBase):
|
||||
return result
|
||||
|
||||
if self.handle_popup_cancel('IGNORE_LOW_EMOTION'):
|
||||
self.config.GEMS_EMOTION_TRIGGRED = True
|
||||
self.config.GEMS_EMOTION_TRIGGERED = True
|
||||
logger.hr('EMOTION WITHDRAW')
|
||||
|
||||
while 1:
|
||||
@@ -650,7 +650,7 @@ class GemsFarming(CampaignRun, Dock, EquipmentChange, GemsEquipmentHandler):
|
||||
logger.hr('TRIGGERED LV32 LIMIT')
|
||||
return True
|
||||
|
||||
if self.campaign.config.GEMS_EMOTION_TRIGGRED:
|
||||
if self.campaign.config.GEMS_EMOTION_TRIGGERED:
|
||||
self._trigger_emotion = True
|
||||
logger.hr('TRIGGERED EMOTION LIMIT')
|
||||
return True
|
||||
@@ -718,7 +718,7 @@ class GemsFarming(CampaignRun, Dock, EquipmentChange, GemsEquipmentHandler):
|
||||
self._trigger_lv32 = False
|
||||
self._trigger_emotion = False
|
||||
self.campaign.config.LV32_TRIGGERED = False
|
||||
self.campaign.config.GEMS_EMOTION_TRIGGRED = False
|
||||
self.campaign.config.GEMS_EMOTION_TRIGGERED = False
|
||||
|
||||
# Scheduler
|
||||
if self.config.task_switched():
|
||||
|
||||
@@ -97,7 +97,7 @@ class ManualConfig:
|
||||
"""
|
||||
module.campaign.gems_farming
|
||||
"""
|
||||
GEMS_EMOTION_TRIGGRED = False
|
||||
GEMS_EMOTION_TRIGGERED = False
|
||||
|
||||
"""
|
||||
module.handler
|
||||
|
||||
Reference in New Issue
Block a user