Skip to content

Commit

Permalink
fix :JP activity explore story
Browse files Browse the repository at this point in the history
  • Loading branch information
pur1fying committed Aug 22, 2024
1 parent 365bc07 commit ae6cb37
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
3 changes: 2 additions & 1 deletion core/default_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,8 @@
"レッドウインター連邦学園",
"百鬼夜行中心部",
"D.U.シラトリ区",
"山海経中央特区"
"山海経中央特区",
"春葉原"
]
},
"current_game_activity": {
Expand Down
10 changes: 7 additions & 3 deletions module/activities/Moonlight Dream.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,12 @@ def start_story(self):
"formation_edit1",
"reward_acquired"
]
img_ends = "plot_formation-edit"
img_ends = [
"plot_formation-edit",
"activity_unit-formation",
]
res = picture.co_detect(self, rgb_ends, None, img_ends, img_possibles, skip_first_screenshot=True)
if res == "formation_edit1" or res == "plot_formation-edit":
if res == "formation_edit1" or res == "plot_formation-edit" or res == "activity_unit-formation":
start_fight(self, 1)
main_story.auto_fight(self)
elif res == "reward_acquired":
Expand All @@ -167,7 +170,8 @@ def start_fight(self, i):
"formation_edit" + str(i): (1156, 659)
}
img_possibles = {
"plot_formation-edit": (1156, 659)
"plot_formation-edit": (1156, 659),
"activity_unit-formation": (1156, 659),
}
rgb_ends = "fighting_feature"
picture.co_detect(self, rgb_ends, rgb_possibles, None, img_possibles, skip_first_screenshot=True)
Expand Down
Binary file added src/images/JP/activity/common/unit-formation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/images/JP/x_y_range/activity_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
'play-guide': (535, 132, 706, 171),
'menu': (103, 7, 250, 38),
"fight-success-confirm": (600, 650, 681, 684),
"unit-formation": (102, 10, 200, 40),
"task-no-goals": (324, 381, 534, 408),
"task-info": (578, 124, 702, 153)
}

0 comments on commit ae6cb37

Please sign in to comment.