1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-07-06 13:09:46 +08:00
This commit is contained in:
GH Action - Upstream Sync
2026-07-05 17:21:18 +00:00

View File

@@ -39,8 +39,13 @@ class CoalitionUI(Combat):
if event == 'coalition_20230323':
mode_switch = Switch('CoalitionMode', offset=(20, 20))
# Note that switch button are reversed
mode_switch.add_state('story', FROSTFALL_MODE_STORY)
mode_switch.add_state('battle', FROSTFALL_MODE_BATTLE)
# but TW rerun event at 20260703 does not have button reversed
if self.config.SERVER == 'tw':
mode_switch.add_state('story', FROSTFALL_MODE_BATTLE)
mode_switch.add_state('battle', FROSTFALL_MODE_STORY)
else:
mode_switch.add_state('story', FROSTFALL_MODE_STORY)
mode_switch.add_state('battle', FROSTFALL_MODE_BATTLE)
elif event == 'coalition_20240627':
mode_switch = Switch('CoalitionMode', offset=(20, 20))
mode_switch.add_state('story', ACADEMY_MODE_BATTLE)