hch
2 天以前 35d98e9c630fd4408561c8c54b4c09193bb9ce9e
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BattleObj.py
@@ -1095,6 +1095,7 @@
    
    def IsInControlled(self): return self.IsInBuffStateGroup([1, 2]) # 是否被控制中
    def IsInControlledHard(self): return self.IsInBuffStateGroup([1]) # 是否被硬控中
    def IsInControlledSoft(self): return self.IsInBuffStateGroup([2]) # 是否被软控中
    def IsInBuffStateGroup(self, buffStateGroups):
        '''是否在某个状态组中
                        已定义的组: 1 - 硬控组;2 - 软控组;3 - 限制普攻组;4 - 限制怒技组;5 - 限制被动动态组