mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2025-12-17 02:25:12 +00:00
fix: commissions
This commit is contained in:
parent
9affc7736e
commit
39871929a3
@ -38,7 +38,7 @@ class Mission(MissionUI, CommissionsUI):
|
|||||||
return 20 if stage >= 9 else 10 + 5 * math.floor(stage / 5)
|
return 20 if stage >= 9 else 10 + 5 * math.floor(stage / 5)
|
||||||
case "XP" | "CR":
|
case "XP" | "CR":
|
||||||
stage = int(self.current_stage, base=10)
|
stage = int(self.current_stage, base=10)
|
||||||
return 40 if stage >= 9 else 5 + 15 * math.floor(stage / 4)
|
return 40 if stage >= 8 else stage * 5
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def mission_info(self) -> list:
|
def mission_info(self) -> list:
|
||||||
|
|||||||
@ -14,7 +14,7 @@ SHARED_LIST = StageList('SharedList')
|
|||||||
EVENT_LIST = StageList('EventList', EVENT_LIST, EVENT_INDEX, EVENT_ITEM, button_stars=EVENT_STARS)
|
EVENT_LIST = StageList('EventList', EVENT_LIST, EVENT_INDEX, EVENT_ITEM, button_stars=EVENT_STARS)
|
||||||
SHARED_SWEEP = StageSweep('MissionSweep', 99)
|
SHARED_SWEEP = StageSweep('MissionSweep', 99)
|
||||||
SHARED_SWEEP.set_button(button_check=CHECK_MISSION_SWEEP) # Check sweep is different for mission, event
|
SHARED_SWEEP.set_button(button_check=CHECK_MISSION_SWEEP) # Check sweep is different for mission, event
|
||||||
COMMISSIONS_SWEEP = StageSweep('SharedSweep', 99)
|
COMMISSIONS_SWEEP = StageSweep('CommissionsSweep', 99)
|
||||||
|
|
||||||
SWITCH_NORMAL = Switch("Normal_switch")
|
SWITCH_NORMAL = Switch("Normal_switch")
|
||||||
SWITCH_NORMAL.add_state("on", NORMAL_ON)
|
SWITCH_NORMAL.add_state("on", NORMAL_ON)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user