Skip to content

Commit

Permalink
Merge pull request #280 from Modagbul/hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
minsu20 authored May 7, 2024
2 parents 5dfc68b + 8ed717d commit ca942fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public static MissionArchive mapToMissionArchive(MissionArchiveReq missionArchiv
.mission(mission)
.heartList(new ArrayList<>())
.contents(missionArchiveReq.getContents())
.commentNum(0L)
.build();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,9 @@ public TeamScoreRes getTeamScoreInfo(Long teamId) {
Long level = teamScore.getLevel();
Long score = teamScore.getScore();

// 70 레벨 이상은 경험치 120 되어야 레벨업 가능. level을 각 레벨 별 필요한 경험치 수에 따르 퍼센트로 계산
if (level > 70) {
score = ( score / 120 ) * 100;
}

return TeamScoreRes.builder()
.score(score)
.score(score%100)
.level(level)
.build();

Expand Down

0 comments on commit ca942fc

Please sign in to comment.