diff --git a/module/campaign/os_run.py b/module/campaign/os_run.py index 18b0b7faa..cf099ddfc 100644 --- a/module/campaign/os_run.py +++ b/module/campaign/os_run.py @@ -68,8 +68,8 @@ class OSCampaignRun(OSMapOperation): except ActionPointLimit: self.config.opsi_task_delay(ap_limit=True) if self.config.is_task_enabled('OpsiHazard1Leveling') \ - and self.get_yellow_coins() > self.config.OS_CL1_YELLOW_COINS_PRESERVE: - self.config.task_call('OpsiHazard1Leveling') + and self.cl1_enough_yellow_coins: + self.config.task_call('OpsiHazard1Leveling') def opsi_month_boss(self): if self.config.SERVER in ['tw']: @@ -91,7 +91,7 @@ class OSCampaignRun(OSMapOperation): except ActionPointLimit: self.config.opsi_task_delay(ap_limit=True) if self.config.is_task_enabled('OpsiHazard1Leveling') \ - and self.get_yellow_coins() > self.config.OS_CL1_YELLOW_COINS_PRESERVE: + and self.cl1_enough_yellow_coins: self.config.task_call('OpsiHazard1Leveling') def opsi_archive(self): @@ -108,7 +108,7 @@ class OSCampaignRun(OSMapOperation): except ActionPointLimit: self.config.opsi_task_delay(ap_limit=True) if self.config.is_task_enabled('OpsiHazard1Leveling') \ - and self.get_yellow_coins() > self.config.OS_CL1_YELLOW_COINS_PRESERVE: + and self.cl1_enough_yellow_coins: self.config.task_call('OpsiHazard1Leveling') def opsi_cross_month(self):