From db68b3b62ed137a98c3a8581923a7f7abd88c7c6 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 18 十一月 2024 10:56:14 +0800
Subject: [PATCH] 1111 修复新服首次维护后战力榜战力数值异常bug;
---
ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerBillboard.py | 25 -------------------------
1 files changed, 0 insertions(+), 25 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerBillboard.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerBillboard.py
index f20f2c6..400a510 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerBillboard.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerBillboard.py
@@ -154,30 +154,6 @@
return
-def __CheckFightPowerBillboard():
- ## 由于战力修改为支持超过20E,所以需要处理下战力相关榜单,原 cmpValue 值移动到 cmpValue2
-
- eventKey = "FightPowerBillboardMoveValue"
- if PlayerDBGSEvent.GetDBGSTrig_ByKey(eventKey):
- return
- PlayerDBGSEvent.SetDBGSTrig_ByKey(eventKey, 1)
- GameWorld.Log("处理战力榜超过20E支持!")
-
- billboardList = [ShareDefine.Def_BT_FightPower] + ShareDefine.JobFightPowerBillboardDict.values()
- for billboardType in billboardList:
- billboard = GameWorld.GetBillboard().FindBillboard(billboardType)
- if not billboard:
- continue
- GameWorld.Log(" billboardType=%s,count=%s" % (billboardType, billboard.GetCount()))
- for index in xrange(billboard.GetCount()):
- billBoardData = billboard.At(index)
- if not billBoardData:
- continue
- billBoardData.SetCmpValue2(billBoardData.GetCmpValue())
- billBoardData.SetCmpValue(0)
-
- return
-
def SortServerBillboard():
##排序所有排行榜
billboardMgr = GameWorld.GetBillboard()
@@ -187,7 +163,6 @@
#排序一次排行榜
billBoard.Sort()
- __CheckFightPowerBillboard()
return
def CopyBillboard(newBillboardIndex, oldBillboardIndex):
--
Gitblit v1.8.0