From 2cf5365a5e409b38bba122f9bd1b0a6bd217c1c0 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 03 七月 2025 17:57:30 +0800
Subject: [PATCH] 16 卡牌服务端(删除无用的GY_Query_Offline_xxx命令)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/RealmLVUP.py |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/RealmLVUP.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/RealmLVUP.py
index 362d190..b6677bc 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/RealmLVUP.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/RealmLVUP.py
@@ -30,7 +30,7 @@
 def OnExec(curPlayer, cmdList):
     if not cmdList:
         GameWorld.DebugAnswer(curPlayer, "------------ %s" % GameWorld.GetCurrentDataTimeStr())
-        GameWorld.DebugAnswer(curPlayer, "重置境界阶级: RealmLVUP 0 [重置改版标记]")
+        GameWorld.DebugAnswer(curPlayer, "重置境界阶级: RealmLVUP 0")
         GameWorld.DebugAnswer(curPlayer, "执行境界升阶: RealmLVUP 1 [次数]")
         GameWorld.DebugAnswer(curPlayer, "设置境界任务: RealmLVUP t 任务ID 进度值")
         GameWorld.DebugAnswer(curPlayer, "注:可设置进度的任务类型:%s" % PlayerPrestigeSys.NeedTaskValueTypeList)
@@ -42,7 +42,6 @@
     
     value = cmdList[0]
     if value == 0:
-        reVersionState = cmdList[1] if len(cmdList) > 1 else 0
         curPlayer.SetOfficialRank(1)
         curPlayer.SetFreePoint(0)
         GameWorld.DebugAnswer(curPlayer, "重置境界!")
@@ -59,9 +58,6 @@
             PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_GubaoItemEffValue % (gubaoID, effType), 0)
             PlayerGubao.Sync_GubaoItemEffInfo(curPlayer, gubaoID, effType, force=True)
         GameWorld.DebugAnswer(curPlayer, "重置境界OK")
-        if reVersionState:
-            PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_RealmVersionState, 0)
-            GameWorld.DebugAnswer(curPlayer, "重置改版标记,重登会执行重置境界逻辑!")
         return
     if value == 1:
         doCount = cmdList[1] if len(cmdList) > 1 else 1
@@ -80,7 +76,7 @@
         taskID = cmdList[1] if len(cmdList) > 1 else 0
         taskValue = cmdList[2] if len(cmdList) > 2 else 0
         PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_RealmTaskValue % taskID, taskValue)
-        PlayerPrestigeSys.SyncRealmFBState(curPlayer, taskIDList=[taskID])
+        PlayerPrestigeSys.SyncRealmInfo(curPlayer, taskIDList=[taskID])
         GameWorld.DebugAnswer(curPlayer, "设置任务ID:%s,进度值:%s" % (taskID, taskValue))
         
     return

--
Gitblit v1.8.0