From 985bdf70fd0022733f75bf2106e69c6de77c26b1 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 28 十一月 2025 17:29:51 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(卑弥呼所有技能;技能表增加字段Buff保留-BuffRetain,支持死亡保留、复活保留;增加触发方式42-大回合开始时(死亡后有效);增加属性ID 73复活生命加成、74复活怒气加成;优化效果6014-支持失败次数额外概率;优化死亡、复活时的buff处理;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/RealmLVUP.py |   28 +++-------------------------
 1 files changed, 3 insertions(+), 25 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..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
 
 
@@ -30,38 +28,18 @@
 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)
-        GameWorld.DebugAnswer(curPlayer, "设置境界塔层: RealmTower")
-        GameWorld.DebugAnswer(curPlayer, "设置天星塔层: SetSkyTower")
         GameWorld.DebugAnswer(curPlayer, "设置境界等级: SetOfficalRank 境界等级")
         GameWorld.DebugAnswer(curPlayer, "注:直接设置境界等级不会触发境界其他额外效果")
         return
     
     value = cmdList[0]
     if value == 0:
-        reVersionState = cmdList[1] if len(cmdList) > 1 else 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")
-        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 +58,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