From e67b3863f18c9bef9c442b8d8a1d46cf520bb101 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期五, 21 六月 2019 11:49:14 +0800 Subject: [PATCH] 7220 【后端】【2.0】灵器开发1.0版(榜单假数据衰减值优化) --- ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/BillboardData.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/BillboardData.py b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/BillboardData.py index 23fca5a..ad627fa 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/BillboardData.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/BillboardData.py @@ -82,9 +82,9 @@ for i in xrange(count): dataPlayerID = curDataCount + 1 + i dataPlayerName = "%s%s" % (FakeName, i) - cmpValue1 = max(0, cmpValue1 - i) - cmpValue2 = max(0, cmpValue2 - i) - PlayerBillboard.UpdatePlayerBillboard(dataPlayerID, dataPlayerName, curPlayerOpInfo, billboardIndex, bType2, value1, value2, cmpValue1, autoSort, cmpValue2) + dataCmpValue1 = max(0, cmpValue1 - i) + dataCmpValue2 = max(0, cmpValue2 - i) + PlayerBillboard.UpdatePlayerBillboard(dataPlayerID, dataPlayerName, curPlayerOpInfo, billboardIndex, bType2, value1, value2, dataCmpValue1, autoSort, dataCmpValue2) billBoard.Sort() -- Gitblit v1.8.0