示例#1
0
        /// <summary>
        /// Returns the amount of minions in a desired range with Prediction.
        /// </summary>
        public static float CountMinionsInRangeWithPrediction(this Obj_AI_Base sender, float range, int delay = 250)
        {
            if (sender.IsNull())
            {
                throw new ArgumentNullException("sender");
            }

            return(sender.CountUnitsInRangeWithPrediction(EntityManager.MinionsAndMonsters.Minions.ToObj_AI_BaseList(), range, delay));
        }