From ea6dff19b5877d55473d445788e1a2ff5789f6b9 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 17 三月 2026 10:01:57 +0800
Subject: [PATCH] 526 【挑战】PVP群英榜-后端(战斗日志Value1增加存储ServerID;群英榜单10的UserData增加Json格式存储FightPower;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/HJG.py |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/HJG.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/HJG.py
index 22c4c1a..5ab9503 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/HJG.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/HJG.py
@@ -44,7 +44,7 @@
     value1 = msgList[0]
     
     # 删除称号
-    if value1 == "t1":
+    if value1 == "t0":
         titleID = msgList[1] if len(msgList) > 1 else 0
         if not titleID:
             for index in range(ipyDataMgr.GetTitleCount()):
@@ -52,8 +52,7 @@
                 titleID = ipyData.GetTitleID()
                 if not GameWorld.GetDictValueByBit(curPlayer, ChConfig.Def_PDict_TitleState, titleID):
                     continue
-                GameWorld.SetDictValueByBit(curPlayer, ChConfig.Def_PDict_TitleState, titleID, 0)
-                PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_TitleEndTime % titleID, 0)
+                PlayerHJG.DelTitle(curPlayer, titleID, False)
                 PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_TitleStar % titleID, 0)
                 syncTitleIDList.append(titleID)
         else:
@@ -61,8 +60,7 @@
             if not ipyData:
                 GameWorld.DebugAnswer(curPlayer, "该称号不存在:%s" % titleID)
                 return
-            GameWorld.SetDictValueByBit(curPlayer, ChConfig.Def_PDict_TitleState, titleID, 0)
-            PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_TitleEndTime % titleID, 0)
+            PlayerHJG.DelTitle(curPlayer, titleID, False)
             PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_TitleStar % titleID, 0)
             syncTitleIDList.append(titleID)
         GameWorld.DebugAnswer(curPlayer, "删除称号:%s" % syncTitleIDList)

--
Gitblit v1.8.0