优化排行榜

This commit is contained in:
hahwu 2025-06-30 18:50:41 +08:00
parent 12764c1070
commit 505f9a0dd6

View File

@ -823,7 +823,9 @@ func (p *Player) UpdateUserInfo() {
func (p *Player) HandleInUserRank() {
DecorateMod := p.PlayMod.getDecorateMod()
Score := DecorateMod.GetDecorateNum()
Score := float64(DecorateMod.GetDecorateNum())
BaseMod := p.PlayMod.getBaseMod()
Score += float64(BaseMod.GetLevel()) * 1000000 // 等级加成
// 更新排行榜
m := &MsgMod.Msg{
Type: MsgMod.HANDLE_TYPE_RANK,