Skip to content

Commit

Permalink
Fix: Subpress wrong siren predictions on land in B3/D3
Browse files Browse the repository at this point in the history
  • Loading branch information
LmeSzinc committed Jan 10, 2025
1 parent 156a988 commit bad155d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion campaign/event_20221222_cn/b3.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

MAP = CampaignMap('B3')
MAP.shape = 'I9'
MAP.camera_data = ['D2', 'D5', 'D7', 'F2', 'F5', 'F7']
MAP.camera_data = ['D3', 'F3', 'F5', 'F7']
MAP.camera_data_spawn_point = ['D7']
MAP.map_data = """
-- ++ ++ ME -- ME -- ++ ++
Expand Down Expand Up @@ -48,6 +48,9 @@
A8, B8, C8, D8, E8, F8, G8, H8, I8, \
A9, B9, C9, D9, E9, F9, G9, H9, I9, \
= MAP.flatten()
MAP.ignore_prediction(C5, is_siren=True)
MAP.ignore_prediction(E7, is_siren=True)
MAP.ignore_prediction(G4, is_siren=True)


class Config(ConfigBase):
Expand All @@ -62,6 +65,7 @@ class Config(ConfigBase):
MAP_HAS_MYSTERY = False
# ===== End of generated config =====

MAP_SIREN_HAS_BOSS_ICON_SMALL = False
MAP_SWIPE_MULTIPLY = (0.997, 1.015)
MAP_SWIPE_MULTIPLY_MINITOUCH = (0.964, 0.982)
MAP_SWIPE_MULTIPLY_MAATOUCH = (0.936, 0.953)
Expand Down
6 changes: 5 additions & 1 deletion campaign/event_20221222_cn/d3.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

MAP = CampaignMap('D3')
MAP.shape = 'I9'
MAP.camera_data = ['D2', 'D5', 'D7', 'F2', 'F5', 'F7']
MAP.camera_data = ['D3', 'F3', 'F5', 'F7']
MAP.camera_data_spawn_point = ['D7']
MAP.map_data = """
-- ++ ++ ME -- ME -- ++ ++
Expand Down Expand Up @@ -49,6 +49,9 @@
A8, B8, C8, D8, E8, F8, G8, H8, I8, \
A9, B9, C9, D9, E9, F9, G9, H9, I9, \
= MAP.flatten()
MAP.ignore_prediction(C5, is_siren=True)
MAP.ignore_prediction(E7, is_siren=True)
MAP.ignore_prediction(G4, is_siren=True)


class Config(ConfigBase):
Expand All @@ -63,6 +66,7 @@ class Config(ConfigBase):
MAP_HAS_MYSTERY = False
# ===== End of generated config =====

MAP_SIREN_HAS_BOSS_ICON_SMALL = False
MAP_SWIPE_MULTIPLY = (0.997, 1.015)
MAP_SWIPE_MULTIPLY_MINITOUCH = (0.964, 0.982)
MAP_SWIPE_MULTIPLY_MAATOUCH = (0.936, 0.953)
Expand Down

0 comments on commit bad155d

Please sign in to comment.