Skip to content

Commit 294948c

Browse files
authored
Merge pull request #2658 from LmeSzinc/dev
Bug fix
2 parents 20eee74 + ccb26ac commit 294948c

5 files changed

Lines changed: 13 additions & 7 deletions

File tree

module/gacha/gacha_reward.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,11 @@ def gacha_flush_queue(self, skip_first_screenshot=True):
234234
if confirm_timer.reached():
235235
break
236236

237+
# Wishing pool no longer shows coins, go back to normal pools
238+
if self.appear(BUILD_SUBMIT_WW_ORDERS):
239+
logger.info('In wishing pool, go back to normal pools')
240+
self.gacha_side_navbar_ensure(upper=1)
241+
237242
def gacha_submit(self, skip_first_screenshot=True):
238243
"""
239244
Pages:

module/map/fleet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ def find_path_initial(self):
508508
if self.fleet_2_location:
509509
self.map[self.fleet_2_location].is_fleet = True
510510
location_dict = {}
511-
if self.config.FLEET_2:
511+
if self.fleet_2_location:
512512
location_dict[2] = self.fleet_2_location
513513
location_dict[1] = self.fleet_1_location
514514
# Release fortress block

module/os/config.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ class OSConfig:
1010
IGNORE_LOW_EMOTION_WARN = False
1111

1212
MAP_GRID_CENTER_TOLERANCE = 0.2
13-
MAP_SWIPE_MULTIPLY = (1.320, 1.009)
14-
MAP_SWIPE_MULTIPLY_MINITOUCH = (1.276, 0.974)
13+
MAP_SWIPE_MULTIPLY = (1.174, 1.200)
14+
MAP_SWIPE_MULTIPLY_MINITOUCH = (1.135, 1.160)
15+
MAP_SWIPE_MULTIPLY_MAATOUCH = (1.102, 1.126)
1516

1617
DETECTION_BACKEND = 'perspective'
1718
MID_DIFF_RANGE_H = (103 - 3, 103 + 3)

module/os/map.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -826,8 +826,8 @@ def map_rescan_once(self, rescan_mode='full', drop=None):
826826
self.handle_info_bar()
827827
self.update()
828828
if self.map_rescan_current(drop=drop):
829-
logger.info(f'Map rescan once end, result={result}')
830-
return result
829+
logger.info(f'Map rescan once end, result={True}')
830+
return True
831831

832832
if rescan_mode == 'full':
833833
logger.hr('Map rescan full', level=2)

module/ui/page.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ def link(self, button, destination):
129129

130130
# Raid
131131
page_raid = Page(RAID_CHECK)
132-
page_raid.link(button=GOTO_MAIN, destination=page_main)
133-
page_main.link(button=MAIN_GOTO_RAID, destination=page_raid)
132+
# page_raid.link(button=GOTO_MAIN, destination=page_main)
133+
# page_main.link(button=MAIN_GOTO_RAID, destination=page_raid)
134134

135135
# Research
136136
# Please don't goto page_research from page_reward.

0 commit comments

Comments
 (0)