[DIVA] fix stage_result placeholder to the correct length, level up animation is now working

This commit is contained in:
samnyan 2020-01-21 15:29:52 +08:00
parent f95cf86b38
commit 38120a3aa9
2 changed files with 7 additions and 7 deletions

View File

@ -117,13 +117,13 @@ public class StageResultHandler extends BaseHandler {
request.getCr_cid(), request.getCr_cid(),
request.getCr_tv(), request.getCr_tv(),
cnp_sp, cnp_sp,
"xxx", "xxx,xxx,xxx,xxx,xxx",
"-1,-1,-1,-1,-1", "-1,-1,-1,-1,-1",
"xxx", "xxx,xxx,xxx,xxx,xxx",
"xxx", "xxx,xxx,xxx,xxx,xxx",
"xxx", "xxx,xxx,xxx,xxx,xxx",
"xxx", "xxx,xxx,xxx,xxx,xxx",
"xxx", "xxx,xxx,xxx,xxx,xxx",
0, 0,
LocalDateTime.now(), LocalDateTime.now(),
-1, -1,

View File

@ -32,6 +32,6 @@ public class DivaCalculator {
int level = totalAttain / 13979; int level = totalAttain / 13979;
int exp = Math.round((totalAttain % 13979) / 13979.0f * 100.0f); int exp = Math.round((totalAttain % 13979) / 13979.0f * 100.0f);
return new LevelInfo(level, exp); return new LevelInfo(level + 1, exp);
} }
} }