fix(game): restore per-player secondary scoring
Replace the global bonus approximation with the original per-player secondary score and multiplier. Lock holes now accumulate 10k, 20k, 40k, 80k, and 160k; the fifth transfer applies the current multiplier, clears the secondary score, increments that multiplier, and grants the recovered extra-ball count. Route effects 1 through 5 into the same secondary score and make effect 6 transfer its displayed multiplied value before clearing it. Render that value on the table and stop adding an unrelated global bonus during drain, preserving secondary progress across balls as the original player state does. Test Plan: - `cargo test --all-targets` -- passed, 57 tests - `cargo clippy --all-targets -- -D warnings` -- passed - `rumdl check tdkpin-rs/CHANGELOG.md tdkpin-rs/RECONSTRUCTION.md` -- passed - `git diff --cached --check` -- passed
This commit is contained in:
@@ -543,7 +543,7 @@ impl App {
|
||||
},
|
||||
);
|
||||
}
|
||||
self.draw_right_aligned_digits(&game.bonus.to_string(), 605.0, 233.0);
|
||||
self.draw_right_aligned_digits(&game.secondary_score_display().to_string(), 605.0, 233.0);
|
||||
|
||||
let media_level = game.player().media_level;
|
||||
if media_level > 0 {
|
||||
|
||||
Reference in New Issue
Block a user