Fix: KALEIDXSCOPE crashing on final phase

Add gates 7-10 to prevent crashing when entered

Set Gates 1-9 to LIFE999 BASIC
Set Gate 10 to LIFE999/999 BASIC
This commit is contained in:
radiumerst
2025-12-10 12:40:49 +08:00
committed by Azalea
parent 43b7ea65a5
commit 5eee6505f9

View File

@@ -224,12 +224,16 @@ fun Maimai2ServletController.initApis() {
// Kaleidoscope, added on 1.50 // Kaleidoscope, added on 1.50
// [{gateId, phaseId}] // [{gateId, phaseId}]
"GetGameKaleidxScope" { mapOf("gameKaleidxScopeList" to ls( "GetGameKaleidxScope" { mapOf("gameKaleidxScopeList" to ls(
mapOf("gateId" to 1, "phaseId" to findPhase(LocalDate.of(2025, 1, 18))), mapOf("gateId" to 1, "phaseId" to 6),
mapOf("gateId" to 2, "phaseId" to 2), mapOf("gateId" to 2, "phaseId" to 6),
mapOf("gateId" to 3, "phaseId" to 2), mapOf("gateId" to 3, "phaseId" to 6),
mapOf("gateId" to 4, "phaseId" to findPhase(LocalDate.of(2025, 2, 25))), mapOf("gateId" to 4, "phaseId" to 6),
mapOf("gateId" to 5, "phaseId" to 2), mapOf("gateId" to 5, "phaseId" to 6),
mapOf("gateId" to 6, "phaseId" to 2), mapOf("gateId" to 6, "phaseId" to 6),
mapOf("gateId" to 7, "phaseId" to 6),
mapOf("gateId" to 8, "phaseId" to 6),
mapOf("gateId" to 9, "phaseId" to 6),
mapOf("gateId" to 10, "phaseId" to 13),
)) } )) }
// Request: {userId} // Request: {userId}
// Response: {userId, userKaleidxScopeList} // Response: {userId, userKaleidxScopeList}