mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 23:18:22 +08:00
Fix: Disclaimer requirement for os_world_clear module
Fix: Limit user input via 'choices' for min/max level Fix: Update loop range dynamic rather than presumed in read config
This commit is contained in:
@@ -221,7 +221,7 @@ class OperationSiren(OSMap):
|
||||
self.config.OS_SETTING_REPAIR_THRESHOLD)
|
||||
|
||||
def _clear_os_world(self):
|
||||
for hazard_level in range(self.config.OS_WORLD_MIN_LEVEL, self.config.OS_WORLD_MAX_LEVEL):
|
||||
for hazard_level in range(self.config.OS_WORLD_MIN_LEVEL, (self.config.OS_WORLD_MAX_LEVEL + 1)):
|
||||
zones = self.zone_select(hazard_level=hazard_level) \
|
||||
.delete(SelectedGrids(self.zones.select(is_port=True))) \
|
||||
.sort_by_clock_degree(center=(1252, 1012), start=self.zone.location)
|
||||
|
||||
Reference in New Issue
Block a user