mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-11 05:57:26 +08:00
[F] Fix wacca song unlock (!)
This commit is contained in:
@@ -194,7 +194,7 @@ fun WaccaServer.init() {
|
|||||||
else if (it == TICKET && go?.unlockTickets == true) (0..4).map { ls(it, 106002, 0) }
|
else if (it == TICKET && go?.unlockTickets == true) (0..4).map { ls(it, 106002, 0) }
|
||||||
else items[it()]?.map { it.ls() } ?: empty
|
else items[it()]?.map { it.ls() } ?: empty
|
||||||
},
|
},
|
||||||
"4 scores" - (scores.map { it.ls() } + (items[MUSIC_UNLOCK()]?.map { song ->
|
"4 scores" - (scores.map { it.ls() } + (items[MUSIC_UNLOCK()]?.flatMap { song ->
|
||||||
// If the song is unlocked but hasn't been played, add a song in the score list with 0 clears
|
// If the song is unlocked but hasn't been played, add a song in the score list with 0 clears
|
||||||
(WaccaDifficulty.HARD()..song.p1).filter { scoreMap[song.itemId to it.int()] == null }.map { diff ->
|
(WaccaDifficulty.HARD()..song.p1).filter { scoreMap[song.itemId to it.int()] == null }.map { diff ->
|
||||||
WcUserScore().apply { user = u; musicId = song.itemId; level = diff.int() }.ls()
|
WcUserScore().apply { user = u; musicId = song.itemId; level = diff.int() }.ls()
|
||||||
|
|||||||
Reference in New Issue
Block a user