fix: SSS+ rating calculating
This commit is contained in:
@@ -93,7 +93,8 @@ impl Level {
|
||||
_ => return 0,
|
||||
};
|
||||
|
||||
(factor * difficulty_rank * achievement)
|
||||
// when ach > 100.5%, calculate as 100.5%
|
||||
(factor * difficulty_rank * achievement.min(Decimal::new(1005, 1)))
|
||||
.floor()
|
||||
.try_into()
|
||||
.unwrap_or_default()
|
||||
|
||||
Reference in New Issue
Block a user