From 0b4e44a6764b14b51c4b72b9c47c5a162352850d Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 22 十月 2025 11:48:31 +0800
Subject: [PATCH] 16 卡牌服务端(删除 PlayerBattle)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/RealmLVUP.py |   20 +-------------------
 1 files changed, 1 insertions(+), 19 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 b6677bc..f018e5a 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
@@ -17,9 +17,7 @@
 
 import GameWorld
 import PlayerPrestigeSys
-import IpyGameDataPY
 import PlayerControl
-import PlayerGubao
 import ChConfig
 
 
@@ -34,29 +32,13 @@
         GameWorld.DebugAnswer(curPlayer, "执行境界升阶: RealmLVUP 1 [次数]")
         GameWorld.DebugAnswer(curPlayer, "设置境界任务: RealmLVUP t 任务ID 进度值")
         GameWorld.DebugAnswer(curPlayer, "注:可设置进度的任务类型:%s" % PlayerPrestigeSys.NeedTaskValueTypeList)
-        GameWorld.DebugAnswer(curPlayer, "设置境界塔层: RealmTower")
-        GameWorld.DebugAnswer(curPlayer, "设置天星塔层: SetSkyTower")
         GameWorld.DebugAnswer(curPlayer, "设置境界等级: SetOfficalRank 境界等级")
         GameWorld.DebugAnswer(curPlayer, "注:直接设置境界等级不会触发境界其他额外效果")
         return
     
     value = cmdList[0]
     if value == 0:
-        curPlayer.SetOfficialRank(1)
-        curPlayer.SetFreePoint(0)
-        GameWorld.DebugAnswer(curPlayer, "重置境界!")
-        GameWorld.DebugAnswer(curPlayer, "重置灵根点!")
-        effType = PlayerGubao.GubaoEffType_RealmLVAddLinggen
-        ipyDataMgr = IpyGameDataPY.IPY_Data()
-        for index in range(ipyDataMgr.GetGubaoCount()):
-            ipyData = ipyDataMgr.GetGubaoByIndex(index)
-            gubaoID = ipyData.GetGubaoID()
-            addFreePointAlready = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_GubaoItemEffValue % (gubaoID, effType))
-            if not addFreePointAlready:
-                continue
-            GameWorld.DebugAnswer(curPlayer, "重置古宝(%s)效果(%s)增加灵根点:%s" % (gubaoID, effType, addFreePointAlready))
-            PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_GubaoItemEffValue % (gubaoID, effType), 0)
-            PlayerGubao.Sync_GubaoItemEffInfo(curPlayer, gubaoID, effType, force=True)
+        curPlayer.SetOfficialRank(ChConfig.Def_InitOfficialRank)
         GameWorld.DebugAnswer(curPlayer, "重置境界OK")
         return
     if value == 1:

--
Gitblit v1.8.0