예제 #1
0
        public override bool Proc(EntityParent theOwner)
        {
            //todo检查敌人数量
            int num = theOwner.GetEnemyNum();
            bool rnt = CmpTypeMethod.Cmp(_cmp, num, _num);
            if (rnt == true)
			{
                //Mogo.Util.LoggerHelper.Debug("AI:" + "CmpEnemyNum:" + "true");
			}
            else
			{
                //Mogo.Util.LoggerHelper.Debug("AI:" + "CmpEnemyNum:" + "false");
			}
            return rnt;
        }