wpm modifies things
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Zoltan Timar
2026-04-29 17:20:07 +02:00
parent fe6f39e748
commit 3356d837c2
3 changed files with 28 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ Decision.register({
modes_for_ascension_levels[3] = "only_nothing"
modes_for_ascension_levels[4] = "normal"
MinigameDDRWindow.start("game", "generated", {
local ddr_config = {
on_win = function(game_context)
if (game_context.special_mode_condition and Context.ascension.level == 1) then
Context.should_ascend = true
@@ -31,6 +31,11 @@ Decision.register({
Context.have_done_work_today = true
end,
special_mode = modes_for_ascension_levels[Ascension.get_level()] or "normal"
})
}
if Context.meters and Context.meters.wpm < 100 then
ddr_config.arrow_fall_speed = 2.5
ddr_config.arrow_spawn_interval = 30
end
MinigameDDRWindow.start("game", "generated", ddr_config)
end,
})