From 2838ace78267ff0f7681f424fa939449061ae781 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 23 九月 2025 10:55:08 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(庞统技能;增加触发方式被连击18,被追击19;增加buff状态限制管理支持,写死硬控中无法格挡、闪避、行动;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Hero.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Hero.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Hero.py
index be8b637..1c9827d 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Hero.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Hero.py
@@ -71,6 +71,8 @@
             ipyDataMgr = IpyGameDataPY.IPY_Data()
             for index in range(ipyDataMgr.GetHeroCount()):
                 ipyData = ipyDataMgr.GetHeroByIndex(index)
+                if not ipyData.GetPlayerCanUse():
+                    continue
                 heroIDList.append(ipyData.GetHeroID())
         else:
             heroIDList = [value2]

--
Gitblit v1.8.0