1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-19 23:33:33 +08:00

Opt: Re-organise CalculateEmotion and IgnoreLowEmotionWarn

This commit is contained in:
LmeSzinc
2023-02-18 01:19:04 +08:00
parent b63cf43568
commit d191d16649
18 changed files with 211 additions and 178 deletions

View File

@@ -501,6 +501,17 @@ class ConfigUpdater:
('General.Retirement.OldRetireSR', 'General.OldRetire.SR'),
('General.Retirement.OldRetireSSR', 'General.OldRetire.SSR'),
]
redirection += [
(
(f'{task}.Emotion.CalculateEmotion', f'{task}.Emotion.IgnoreLowEmotionWarn'),
f'{task}.Emotion.Mode',
emotion_mode_redirect
) for task in [
'Main', 'Main2', 'Main3', 'GemsFarming',
'Event', 'Event2', 'EventA', 'EventB', 'EventC', 'EventD', 'EventSp', 'Raid', 'RaidDaily',
'Sos', 'WarArchives',
]
]
@cached_property
def args(self):