public override bool Proc(EntityParent theOwner) { //todo检查敌人数量 bool rnt = theOwner.ProcIsTargetCanBeAttack(); if (rnt == true) { //Mogo.Util.LoggerHelper.Debug("AI:" + "IsTargetCanBeAttack:" + "true"); } else { //Mogo.Util.LoggerHelper.Debug("AI:" + "IsTargetCanBeAttack:" + "false"); } return rnt; }