From 92bbb9204a20cce3add02b70e0a1b135143236f3 Mon Sep 17 00:00:00 2001 From: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com> Date: Wed, 30 Aug 2023 19:14:14 +0800 Subject: [PATCH] Upd: Set maximum trailblaze power to 240 --- module/config/stored/classes.py | 2 +- tasks/combat/prepare.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/module/config/stored/classes.py b/module/config/stored/classes.py index a56e86a49..9548b523d 100644 --- a/module/config/stored/classes.py +++ b/module/config/stored/classes.py @@ -166,7 +166,7 @@ class StoredDailyActivity(StoredCounter, StoredExpiredAt0400): class StoredTrailblazePower(StoredCounter): - FIXED_TOTAL = 180 + FIXED_TOTAL = 240 class StoredSimulatedUniverse(StoredCounter, StoredExpiredAt0400): diff --git a/tasks/combat/prepare.py b/tasks/combat/prepare.py index 112dd3a40..4feb9ceaa 100644 --- a/tasks/combat/prepare.py +++ b/tasks/combat/prepare.py @@ -73,11 +73,11 @@ class CombatPrepare(UI): if total == 0: continue # Confirm if it is > 180, sometimes just OCR errors - if current > 180 and timeout.reached(): + if current > 240 and timeout.reached(): break if expect_reduce and current >= self.config.stored.TrailblazePower.value: continue - if current <= 180: + if current <= 240: break self.config.stored.TrailblazePower.value = current