mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-23 13:18:01 +08:00
Del: Tactical class night
- Fix classroom stuck when no books satisfied
This commit is contained in:
@@ -376,11 +376,12 @@ class AzurLaneConfig:
|
||||
}
|
||||
COMMISSION_TIME_LIMIT = 0
|
||||
|
||||
TACTICAL_BOOK_TIER = 2
|
||||
TACTICAL_BOOK_TIER_MAX = 3
|
||||
TACTICAL_BOOK_TIER_MIN = 2
|
||||
TACTICAL_EXP_FIRST = True
|
||||
TACTICAL_BOOK_TIER_NIGHT = 3
|
||||
TACTICAL_EXP_FIRST_NIGHT = False
|
||||
TACTICAL_NIGHT_RANGE = future_time_range('23:30-06:30') # (Night start, night end), datetime.datetime instance.
|
||||
# TACTICAL_BOOK_TIER_NIGHT = 3
|
||||
# TACTICAL_EXP_FIRST_NIGHT = False
|
||||
# TACTICAL_NIGHT_RANGE = future_time_range('23:30-06:30') # (Night start, night end), datetime.datetime instance.
|
||||
|
||||
"""
|
||||
module.research
|
||||
@@ -548,11 +549,12 @@ class AzurLaneConfig:
|
||||
self.COMMISSION_TIME_LIMIT = 0
|
||||
for attr in self.COMMISSION_PRIORITY.keys():
|
||||
self.COMMISSION_PRIORITY[attr] = int(option[attr])
|
||||
self.TACTICAL_NIGHT_RANGE = future_time_range(option['tactical_night_range'])
|
||||
self.TACTICAL_BOOK_TIER = int(option['tactical_book_tier'])
|
||||
self.TACTICAL_BOOK_TIER_MAX = int(option['tactical_book_tier_max'])
|
||||
self.TACTICAL_BOOK_TIER_MIN = int(option['tactical_book_tier_min'])
|
||||
self.TACTICAL_EXP_FIRST = to_bool(option['tactical_exp_first'])
|
||||
self.TACTICAL_BOOK_TIER_NIGHT = int(option['tactical_book_tier_night'])
|
||||
self.TACTICAL_EXP_FIRST_NIGHT = to_bool(option['tactical_exp_first_night'])
|
||||
# self.TACTICAL_NIGHT_RANGE = future_time_range(option['tactical_night_range'])
|
||||
# self.TACTICAL_BOOK_TIER_NIGHT = int(option['tactical_book_tier_night'])
|
||||
# self.TACTICAL_EXP_FIRST_NIGHT = to_bool(option['tactical_exp_first_night'])
|
||||
for item in ['coin', 'cube', 'part']:
|
||||
self.__setattr__(f'RESEARCH_USE_{item}'.upper(), to_bool(option[f'RESEARCH_USE_{item}'.lower()]))
|
||||
self.RESEARCH_FILTER_PRESET = option['research_filter_preset']
|
||||
|
||||
Reference in New Issue
Block a user