示例#1
0
        public static Vector3 GetClosestShield()
        {
            var shield = Shields.FirstOrDefault(x => x.Distance(Global.Player) <= 1500 && x.CountEnemyHeroesInRange(1500) == 0);

            return(!shield.IsZero ? shield : Vector3.Zero);
        }