Skip to content

Commit

Permalink
double solo bonus points too, remove 5% solo bonus
Browse files Browse the repository at this point in the history
  • Loading branch information
muskit committed May 8, 2023
1 parent 684f38d commit d912fe0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Assets/Script/PlayMode/ScoreKeeper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ public double AddSolo(int notesHit, int notesMax) {

// linear
double multiplier = math.clamp((ratio - 0.6) / 0.4, 0, 1);
double ptsEarned = 100 * notesHit * multiplier;
double ptsEarned = 200 * notesHit * multiplier;

// +5% bonus points
// TODO: limit to FC? decide to keep at all?
if (ratio >= 1)
ptsEarned = 1.05 * ptsEarned;
// if (ratio >= 1)
// ptsEarned = 1.05 * ptsEarned;

Add(ptsEarned);
return ptsEarned;
Expand Down

0 comments on commit d912fe0

Please sign in to comment.