1
0
mirror of https://github.com/TheFunny/ArisuAutoSweeper synced 2026-06-10 06:54:51 +00:00

perf: mission

This commit is contained in:
RedDeadDepresso
2024-01-10 14:34:05 +00:00
committed by YoursFunny
parent fd4ec3aff0
commit 9d0c276db5
2 changed files with 15 additions and 14 deletions
+10 -4
View File
@@ -34,11 +34,17 @@ class Mission(MissionUI, CommissionsUI):
case "H":
return 20
case "E":
stage = int(self.current_stage, base=10)
return 20 if stage >= 9 else 10 + 5 * math.floor(stage / 5)
if self.current_stage >= "09":
return 20
elif self.current_stage <= "04":
return 10
else:
return 15
case "XP" | "CR":
stage = int(self.current_stage, base=10)
return 40 if stage >= 8 else stage * 5
if self.current_stage >= "08":
return 40
else:
return int(self.current_stage, base=10) * 5
@property
def mission_info(self) -> list: