From 8363bfa77030134a400ba31f930fb75f8583c3fc Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 20 一月 2026 10:49:37 +0800
Subject: [PATCH] 423 【内政】命格系统-服务端(命格伤害类技能算触发的武将身上,去除命格结算统计;buff类施法主体还是命格;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/TurnFight.py | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/TurnFight.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/TurnFight.py
index e2f98f4..ca0a153 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/TurnFight.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/TurnFight.py
@@ -42,6 +42,7 @@
GameWorld.DebugAnswer(curPlayer, "位置: 1~6号位")
GameWorld.DebugAnswer(curPlayer, "属性ID: 6-攻,7-防,8-HPMax,9-HP,12-怒")
GameWorld.DebugAnswer(curPlayer, "测试战斗: TurnFight f 是否满技能 [武将ID ...]")
+ GameWorld.DebugAnswer(curPlayer, "测试战斗: TurnFight fp [playerID]")
return
value = msgList[0]
@@ -55,6 +56,9 @@
__printInfo(curPlayer, msgList)
elif value == "f":
__doFightTest(curPlayer, msgList)
+ elif value == "fp":
+ costTime = TurnAttack.GMTestPVP(curPlayer, msgList[1] if len(msgList) > 1 else 0)
+ GameWorld.DebugAnswer(curPlayer, "GMTestPVP: %s" % costTime)
elif value > 0 and value != ChConfig.Def_FBMapID_Main:
__reqTurnFight(curPlayer, msgList)
return
@@ -226,6 +230,14 @@
GameWorld.DebugAnswer(curPlayer, "---------- 【阵营%s】 ----------" % faction)
batFaction = turnFight.getBatFaction(faction)
batLineup = batFaction.getBatlineup(1)
+ mgObj = batLineup.getMinggeObj()
+ if mgObj:
+ objName = "命格 ID:%s" % mgObj.GetID()
+ GameWorld.DebugAnswer(curPlayer, "--- %s" % objName)
+ skillMgr = mgObj.GetSkillManager()
+ skillIDList = skillMgr.GetSkillIDList()
+ GameWorld.DebugAnswer(curPlayer, "技能: %s,%s" % (len(skillIDList), skillIDList))
+
for posNum in posNumList:
objID = batLineup.posObjIDDict.get(posNum)
if not objID:
--
Gitblit v1.8.0