forked from Oshima-Studios/OshimaGameModule
削弱了当承受伤害为0时产生的Rating
This commit is contained in:
parent
89cbea566d
commit
59cdb29105
@ -1441,7 +1441,7 @@ namespace Oshima.FunGame.OshimaServers.Service
|
||||
}
|
||||
|
||||
// 伤害贡献
|
||||
double logDamageContribution = Math.Log(1 + (stats.TotalDamage / (stats.TotalTakenDamage + 1e-6)));
|
||||
double logDamageContribution = Math.Log(1 + (stats.TotalDamage / (stats.TotalTakenDamage + 1)));
|
||||
|
||||
// 存活时间贡献
|
||||
double liveTimeContribution = Math.Log(1 + (stats.LiveTime / (stats.TotalTakenDamage + 0.01) * 100));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user