From 1fd883c95ef2a3c8386648319d9b2acb4676c92c Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 20 三月 2025 18:57:24 +0800
Subject: [PATCH] 10263 【英文】【BT】【GM】后端支持NPC仿真实玩家战斗和快速战斗(优化释放被动UsePassive计数,防止可能引起的死循环;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py
index 10a3eea..df6e242 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py
@@ -296,6 +296,7 @@
 def __DoClientUseSkillEx(curPlayer, skillData, tick):
     #使用技能结果
     useSkillResult = False
+    SkillCommon.ClearUsingPassiveSkill(curPlayer)
     
     #---无目标类技能---
     aimType = SkillShell.GetSkillFireAim(skillData)

--
Gitblit v1.8.0