From 111f9ed5981cb3dd8cca789efb6998779cafe021 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 19 三月 2025 14:27:32 +0800 Subject: [PATCH] 10263 【英文】【BT】【GM】后端支持NPC仿真实玩家战斗和快速战斗(触发被动死循环防范修改;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py index 4b980c5..1347483 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py @@ -3807,8 +3807,9 @@ skillID = curSkill.GetSkillID() PyGameData.g_singleAtkRecordList.append([atkID, tagID, skillID]) #GameWorld.DebugLog("PyGameData.g_singleAtkRecordList: %s, %s" % (len(PyGameData.g_singleAtkRecordList), PyGameData.g_singleAtkRecordList)) - if len(PyGameData.g_singleAtkRecordList) >= 50: - GameWorld.SendGameError("MirrorAIAtkDepthError", str(PyGameData.g_singleAtkRecordList)) + if len(PyGameData.g_singleAtkRecordList) >= 5: + mapID = GameWorld.GetMap().GetMapID() + GameWorld.SendGameError("MirrorAIAtkDepthError", "mapID=%s,%s" % (mapID, PyGameData.g_singleAtkRecordList)) PyGameData.g_singleAtkRecordList = None return result -- Gitblit v1.8.0