diff --git a/module/os/map.py b/module/os/map.py index ba1924532..bb0d8ff58 100644 --- a/module/os/map.py +++ b/module/os/map.py @@ -416,18 +416,26 @@ class OSMap(OSFleet, Map, GlobeCamera, StrategicSearchHandler): logger.info('Just less than 1 day to OpSi reset, ' 'set ActionPointPreserve to 0 temporarily') return 0 - elif self.is_cl1_enabled and remain <= 2: + elif self.is_cl1_enabled and remain <= 1: + logger.info('Just less than 2 days to OpSi reset, ' + 'set ActionPointPreserve to 700 temporarily for hazard 1 leveling') + return 700 + elif self.is_cl1_enabled and remain <= 2 and preserve > 1200: logger.info('Just less than 3 days to OpSi reset, ' - 'set ActionPointPreserve to 1000 temporarily for hazard 1 leveling') - return 1000 + 'set ActionPointPreserve to 1200 temporarily for hazard 1 leveling') + return 1200 elif remain <= 2: logger.info('Just less than 3 days to OpSi reset, ' 'set ActionPointPreserve to 300 temporarily') return 300 - elif self.is_cl1_enabled and remain <= 3 and preserve > 2000: + elif self.is_cl1_enabled and remain <= 3 and preserve > 1800: logger.info('Just less than 4 days to OpSi reset, ' - 'set ActionPointPreserve to 2000 temporarily for hazard 1 leveling') - return 2000 + 'set ActionPointPreserve to 1800 temporarily for hazard 1 leveling') + return 1800 + elif self.is_cl1_enabled and remain <= 4 and preserve > 2400: + logger.info('Just less than 5 days to OpSi reset, ' + 'set ActionPointPreserve to 2400 temporarily for hazard 1 leveling') + return 2400 elif self.is_cl1_enabled and remain <= 5 and preserve > 3000: logger.info('Just less than 6 days to OpSi reset, ' 'set ActionPointPreserve to 3000 temporarily for hazard 1 leveling')