hxp
2026-03-12 5c8b87ef0812652af80655923ac5ca277b346f61
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)