예제 #1
0
            private static float EnemyAssists1()
            {
                var h = EnemyTeam.FirstOrDefault();

                if (h != null && h.IsValid)
                {
                    return(h.Assists);
                }
                return(0);
            }
예제 #2
0
            private static float EnemyKills1()
            {
                var h = EnemyTeam.FirstOrDefault();

                if (h != null && h.IsValid)
                {
                    return(h.ChampionsKilled);
                }
                return(0);
            }
예제 #3
0
            private static float EnemyLevel1()
            {
                var h = EnemyTeam.FirstOrDefault();

                if (h != null && h.IsValid)
                {
                    return(h.Level);
                }
                return(0);
            }
예제 #4
0
            private static float EnemyHealth1()
            {
                var h1 = EnemyTeam.FirstOrDefault();

                if (h1 != null && h1.IsValid)
                {
                    return(h1.HealthPercent / 10);
                }
                return(0);
            }
예제 #5
0
            private static bool EnemyDead1()
            {
                var h = EnemyTeam.FirstOrDefault();

                if (h != null && h.IsValid)
                {
                    if (h.IsDead)
                    {
                        return(true);
                    }
                    return(false);
                }
                return(false);
            }