Esempio n. 1
0
        protected bool CheckConditionExtraInspectionHasBuff(ExtraInspection extraInspectionData, EntityParent checker)
        {
            if (checker.GetBattleManager() == null)
            {
                return(false);
            }
            List <int> buffList = checker.GetBuffManager().GetBuffList();

            for (int i = 0; i < extraInspectionData.buffList.get_Count(); i++)
            {
                if (buffList.Contains(extraInspectionData.buffList.get_Item(i)))
                {
                    return(true);
                }
            }
            return(false);
        }