Browse Source

分数计算公式调整22。

skyffire 1 năm trước cách đây
mục cha
commit
338098ba52
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/rank.rs

+ 1 - 1
src/rank.rs

@@ -83,7 +83,7 @@ pub fn generate_rank_by_indicator_map(indicator_map: &MutexGuard<HashMap<String,
         // ======================== 最终计算 =========================
         // msv_score计算规则
         let mut msv_score = if msv_abs_total > Decimal::ZERO && epr_total > Decimal::ZERO {
-            (msv_abs_avg * epr_total / msv_abs_total) * SIXTY
+            (msv_abs_max * epr_total / msv_abs_total) * SIXTY
         } else {
             Decimal::ZERO
         };