Skip to content

Commit

Permalink
Update ChallengeInstance.java
Browse files Browse the repository at this point in the history
Fix a little thing about pts
  • Loading branch information
imHaruuu authored Oct 21, 2024
1 parent 1aff977 commit ff553df
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public void onBattleStart(Battle battle) {
// Add story battle targets
if (this.getExcel().getType() == ChallengeType.STORY) {
// Add base score counter
battle.addBattleTarget(1, 10001, this.getTotalScore());
battle.addBattleTarget(1, 10002, this.getTotalScore());
// Add battle targets from story excel
for (int id : getExcel().getStoryExcel().getBattleTargetID()) {
battle.addBattleTarget(5, id, this.getTotalScore());
Expand Down Expand Up @@ -295,4 +295,4 @@ public ChallengeInfo toProto() {

return proto;
}
}
}

0 comments on commit ff553df

Please sign in to comment.