From 15c07b49a9abf5fb16bef9bd01d0ea3d8e3de936 Mon Sep 17 00:00:00 2001 From: cracrayol Date: Mon, 19 Sep 2022 11:18:02 +0200 Subject: [PATCH] Pnm Kaimei: fix bad value in format_profile --- bemani/backend/popn/kaimei.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bemani/backend/popn/kaimei.py b/bemani/backend/popn/kaimei.py index 8c4f297..ad09b37 100644 --- a/bemani/backend/popn/kaimei.py +++ b/bemani/backend/popn/kaimei.py @@ -24,7 +24,7 @@ class PopnMusicKaimei(PopnMusicModernBase): GAME_MAX_DECO_ID: int = 133 # Item limits are as follows: - # 0: 1877 - ID is the music ID that the player purchased/unlocked. + # 0: 2019 - ID is the music ID that the player purchased/unlocked. # 1: 2344 # 2: 3 # 3: 133 - ID points at a character part that can be purchased on the character screen. @@ -385,8 +385,8 @@ class PopnMusicKaimei(PopnMusicModernBase): root = super().format_profile(userid, profile) account = root.child('account') - account.add_child(Node.s16('card_again_count', profile.get_int('point'))) - account.add_child(Node.s16('sp_riddles_id', profile.get_int('step'))) + account.add_child(Node.s16('card_again_count', profile.get_int('card_again_count'))) + account.add_child(Node.s16('sp_riddles_id', profile.get_int('sp_riddles_id'))) # Kaimei riddles events event2021 = Node.void('event2021')