Give the player 3 stars after each challenge success

This commit is contained in:
Melledy
2023-10-10 07:14:41 -07:00
parent c065622da2
commit 003ccc1580

View File

@@ -125,7 +125,7 @@ public class ChallengeData {
if (this.currentStage >= excel.getStageNum()) { if (this.currentStage >= excel.getStageNum()) {
// Last stage // Last stage
this.status = ChallengeStatus.CHALLENGE_FINISH; this.status = ChallengeStatus.CHALLENGE_FINISH;
this.stars = 9; // TODO calculate the right amount stars this.stars = 7; // TODO calculate the right amount stars
// Save history // Save history
player.getChallengeManager().addHistory(this.getChallengeId(), this.getStars()); player.getChallengeManager().addHistory(this.getChallengeId(), this.getStars());
// Send challenge result data // Send challenge result data