mirror of
https://github.com/Melledy/LunarCore.git
synced 2025-12-15 06:45:04 +01:00
Give the player 3 stars after each challenge success
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user