From cc207773cbedb51c20300a87c62529ace416b086 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 19 九月 2025 19:23:35 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(无敌支持,免疫伤害、dot、控制;小怪技能;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BattleObj.py |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BattleObj.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BattleObj.py
index 433c306..2297e4b 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BattleObj.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BattleObj.py
@@ -819,14 +819,11 @@
             if self._buffMgr.IsInBuffState(state):
                 return True
         return False
-    def IsInState(self, state):
-        ## 是否处于指定状态下
-        return self._buffMgr.IsInBuffState(state)
     
     def IsInControlled(self):
         ## 是否被控制中
         for state in ChConfig.InControlledStateList:
-            if self.IsInState(state):
+            if self._buffMgr.IsInBuffState(state):
                 return True
         return False
     

--
Gitblit v1.8.0