Add daily and weekly mission reset.

This commit is contained in:
GanyusLeftHorn
2022-06-27 00:54:17 -07:00
committed by Melledy
parent 814d4819d4
commit 8104378b95
3 changed files with 59 additions and 4 deletions

View File

@@ -37,6 +37,10 @@ public class BattlePassMission {
return progress;
}
public void setProgress(int value) {
this.progress = value;
}
public void addProgress(int addProgress, int maxProgress) {
this.progress = Math.min(addProgress + this.progress, maxProgress);
}