Skip to content

Commit

Permalink
update cn activity
Browse files Browse the repository at this point in the history
  • Loading branch information
pur1fying committed Nov 24, 2024
1 parent 1bb52bb commit d325934
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 18 deletions.
2 changes: 1 addition & 1 deletion core/default_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@
]
},
"current_game_activity": {
"CN": null,
"CN": "reckless_nun_and_the_witch_in_the_old_library",
"Global": null,
"JP": "SunlightGirlsNightSong"
},
Expand Down
21 changes: 4 additions & 17 deletions module/activities/reckless_nun_and_the_witch_in_the_old_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ def preprocess_activity_sweep_times(times):
return times


def get_stage_data():
module_path = 'src.explore_task_data.activities.reckless_nun_and_the_witch_in_the_old_library'
def get_stage_data(self):
module_path = 'src.explore_task_data.activities.' + self.current_game_activity
stage_module = importlib.import_module(module_path)
stage_data = getattr(stage_module, 'stage_data', None)
return stage_data
Expand Down Expand Up @@ -158,20 +158,7 @@ def explore_mission(self):
to_activity(self, "mission", True, True)
last_target_mission = 1
total_missions = 12
characteristic = [
'pierce1',
'pierce1',
'mystic1',
'burst1',
'pierce1',
'pierce1',
'mystic1',
'burst1',
'pierce1',
'pierce1',
'mystic1',
'burst1',
]
characteristic = get_stage_data(self)["mission"]
while last_target_mission <= total_missions and self.flag_run:
to_mission_task_info(self, last_target_mission)
res = color.check_sweep_availability(self)
Expand Down Expand Up @@ -202,7 +189,7 @@ def explore_challenge(self):
"challenge4_sss",
"challenge4_task",
]
stage_data = get_stage_data()
stage_data = get_stage_data(self)
for i in range(0, len(tasks)):
current_task_stage_data = stage_data[tasks[i]]
data = tasks[i].split("_")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
stage_data = {
"mission": [
'pierce1',
'pierce1',
'mystic1',
'burst1',
'pierce1',
'pierce1',
'mystic1',
'burst1',
'pierce1',
'pierce1',
'mystic1',
'burst1',
],
"challenge2_sss": {
'start': [
['mystic1', (817, 182)],
Expand Down

0 comments on commit d325934

Please sign in to comment.