From ecc0fff10c9e6a5d510e1f97370a5fa29233746e Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 13 九月 2018 23:10:06 +0800
Subject: [PATCH] 1 buff减层导致buff消失时 添加刷NPC属性
---
ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerBillboard.py | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerBillboard.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerBillboard.py
index 3213a7f..9ede044 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerBillboard.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerBillboard.py
@@ -472,8 +472,9 @@
gameWorld.SetDict(Def_Key_BillboardSortTick % bType, tick)
#GameWorld.DebugLog("更新排行榜:bType=%s,autoSort=%s,tick=%s,lastSortTick=%s,d=%s" % (bType, autoSort, tick, lastSortTick, tick - lastSortTick))
- isUpd = UpdatePlayerBillboard(bID, bName, bName2, bType, bType2, value1, value2, cmpValue, autoSort, cmpValue2, cmpValue3)
- __UpdateBillboardSortState(gameWorld, bType, autoSort, isUpd)
+ UpdatePlayerBillboard(bID, bName, bName2, bType, bType2, value1, value2, cmpValue, autoSort, cmpValue2, cmpValue3)
+ gameWorld.SetDict(Def_Key_BillboardNeedSort % bType, 1)
+ #__UpdateBillboardSortState(gameWorld, bType, autoSort, isUpd)
exInfo = billInfoDict["ExInfo"]
# 以下为榜单附加特殊处理
@@ -494,8 +495,9 @@
job = playerJob % 10
if job in ShareDefine.JobFightPowerBillboardDict:
jobBType = ShareDefine.JobFightPowerBillboardDict[job]
- isUpd = UpdatePlayerBillboard(bID, bName, bName2, jobBType, bType2, value1, value2, cmpValue, autoSort)
- __UpdateBillboardSortState(gameWorld, jobBType, autoSort, isUpd)
+ UpdatePlayerBillboard(bID, bName, bName2, jobBType, bType2, value1, value2, cmpValue, autoSort)
+ gameWorld.SetDict(Def_Key_BillboardNeedSort % jobBType, 1)
+ #__UpdateBillboardSortState(gameWorld, jobBType, autoSort, isUpd)
return
--
Gitblit v1.8.0