优化排行榜
This commit is contained in:
parent
12764c1070
commit
505f9a0dd6
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user