hxp
2025-10-11 3f862208516829ee806168cbb633bc9221f0cf6a
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: