local FuncNode_IsInAmWeak = class("FuncNode_IsInAmWeak") local AttrTypeAm = LuaConst.RealtimeAttrType.am --[[ 初始化 --]] function FuncNode_IsInAmWeak:initialize(entity) self.LimitChildCount = 0 self.Type = LuaConst.ConditionFuncType.IsInAmWeak end --[[ 执行 --]] function FuncNode_IsInAmWeak:Run(conditionDataNode, entity, missile) --TODO if entity.isBoss or entity.isElite then if entity:GetAttrValue(AttrTypeAm) == FP.Const.Zero then return FP.Const.One end end return FP.Const.Zero end return FuncNode_IsInAmWeak