From 6e928c09df9d294e2f90cd91189a3c9abb7b007f Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 31 十月 2025 17:58:33 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(词条技能1014 ~ 1019:增加技能初始CD支持,优化技能CD;优化技能属性、buff属性计算;修复纯buff怒技没有同步技能的bug;)
---
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