Skip to content

Commit

Permalink
Fix another bug in g2 grading.
Browse files Browse the repository at this point in the history
another typo. combo should have been combo2, like all the other nearby lines.
  • Loading branch information
zaphod77 authored Dec 24, 2024
1 parent 15c96b3 commit 8dc59fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script/grade.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ void GradeUp2(int32_t player, int32_t lines){
}
}else if(((combo[player]-1)!=0)&&(combo2[player]>=3)&&(combo2[player]<5)){//3コンボ以上
if(lines == 1){ //コンボ主体では段位ポイントが上がりにくく C7T7.1
i[player] = (i[player] * 21*(combo[player] - 1)) /20;//1.05倍
i[player] = (i[player] * 21*(combo2[player] - 1)) /20;//1.05倍 fixed typo
}else if(lines == 2){
i[player] = (i[player] * 11 * (combo2[player] - 1)) / 10;//1.1倍
}else if(lines == 3){
Expand Down

0 comments on commit 8dc59fb

Please sign in to comment.