From 3f862208516829ee806168cbb633bc9221f0cf6a Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期六, 11 十月 2025 20:30:10 +0800
Subject: [PATCH] 271 【内政】古宝系统-服务端
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/RealmLVUP.py | 16 ----------------
1 files changed, 0 insertions(+), 16 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 54137cc..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
@@ -41,20 +39,6 @@
value = cmdList[0]
if value == 0:
curPlayer.SetOfficialRank(ChConfig.Def_InitOfficialRank)
- 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)
GameWorld.DebugAnswer(curPlayer, "重置境界OK")
return
if value == 1:
--
Gitblit v1.8.0