Beispiel #1
0
            private static float AllyAssists1()
            {
                var h = AllyTeam.FirstOrDefault();

                if (h != null && h.IsValid)
                {
                    return(h.Assists);
                }
                return(0);
            }
Beispiel #2
0
            private static float AllyKills1()
            {
                var h = AllyTeam.FirstOrDefault();

                if (h != null && h.IsValid)
                {
                    return(h.ChampionsKilled);
                }
                return(0);
            }
Beispiel #3
0
            private static float AllyLevel1()
            {
                var h = AllyTeam.FirstOrDefault();

                if (h != null && h.IsValid)
                {
                    return(h.Level);
                }
                return(0);
            }
Beispiel #4
0
            private static float AlyHealth1()
            {
                var h1 = AllyTeam.FirstOrDefault();

                if (h1 != null && h1.IsValid)
                {
                    return(h1.HealthPercent / 10);
                }
                return(0);
            }
Beispiel #5
0
            private static bool AllyDead1()
            {
                var h = AllyTeam.FirstOrDefault();

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