Fixed the real bug with bonus every 100 combo. Criteria is checked where combo gets incremented now

This commit is contained in:
Valerio
2025-12-19 08:40:37 -05:00
parent 6ee8b49eb6
commit a2f742ebd2
2 changed files with 4 additions and 4 deletions

View File

@@ -0,0 +1 @@
61506649d1a0f78c7759ffd83b010e58ab0e167bdeb06b11584933d7a7409f35|Dogbite|t+pazolite

View File

@@ -800,6 +800,9 @@ class Player:
self.combo_announce = ComboAnnounce(self.combo, current_time, self.player_num, self.is_2p) self.combo_announce = ComboAnnounce(self.combo, current_time, self.player_num, self.is_2p)
if self.combo > self.max_combo: if self.combo > self.max_combo:
self.max_combo = self.combo self.max_combo = self.combo
if self.combo % 100 == 0 and self.score_method == "gen3":
self.score += 10000
self.base_score_list.append(ScoreCounterAnimation(self.player_num, 10000, self.is_2p))
if note.type != NoteType.KUSUDAMA: if note.type != NoteType.KUSUDAMA:
is_big = note.type == NoteType.DON_L or note.type == NoteType.KAT_L or note.type == NoteType.BALLOON_HEAD is_big = note.type == NoteType.DON_L or note.type == NoteType.KAT_L or note.type == NoteType.BALLOON_HEAD
@@ -966,10 +969,6 @@ class Player:
else: else:
background.add_chibi(True, 1) background.add_chibi(True, 1)
if self.combo > 0 and self.combo % 100 == 0 and self.score_method == "gen3":
self.score += 10000
self.base_score_list.append(ScoreCounterAnimation(self.player_num, 10000, self.is_2p))
def drumroll_counter_manager(self, current_time: float): def drumroll_counter_manager(self, current_time: float):
"""Manages drumroll counter behavior""" """Manages drumroll counter behavior"""
if self.is_drumroll and self.curr_drumroll_count > 0 and self.drumroll_counter is None: if self.is_drumroll and self.curr_drumroll_count > 0 and self.drumroll_counter is None: