Exemple #1
0
            private static float AllyDeaths4()
            {
                var h = AllyTeam.ElementAt(4);

                if (h != null && h.IsValid)
                {
                    return(h.Deaths);
                }
                return(0);
            }
Exemple #2
0
            private static float AllyAssists5()
            {
                var h = AllyTeam.ElementAt(5);

                if (h != null && h.IsValid)
                {
                    return(h.Assists);
                }
                return(0);
            }
Exemple #3
0
            private static float AllyLevel5()
            {
                var h = AllyTeam.ElementAt(5);

                if (h != null && h.IsValid)
                {
                    return(h.Level);
                }
                return(0);
            }
Exemple #4
0
            private static float AllyKills5()
            {
                var h = AllyTeam.ElementAt(5);

                if (h != null && h.IsValid)
                {
                    return(h.ChampionsKilled);
                }
                return(0);
            }
Exemple #5
0
            private static float AllyHealth5()
            {
                var h5 = AllyTeam.ElementAt(4);

                if (h5 != null && h5.IsValid)
                {
                    return(h5.HealthPercent / 10);
                }
                return(0);
            }
Exemple #6
0
            private static float AllyHealth4()
            {
                var h4 = AllyTeam.ElementAt(4);

                if (h4 != null && h4.IsValid)
                {
                    return(h4.HealthPercent / 10);
                }
                return(0);
            }
Exemple #7
0
            private static float AllyHealth3()
            {
                var h3 = AllyTeam.ElementAt(3);

                if (h3 != null && h3.IsValid)
                {
                    return(h3.HealthPercent / 10);
                }
                return(0);
            }
Exemple #8
0
            private static float AllyHealth2()
            {
                var h2 = AllyTeam.ElementAt(2);

                if (h2 != null && h2.IsValid)
                {
                    return(h2.HealthPercent / 10);
                }
                return(0);
            }
Exemple #9
0
            private static bool AllyDead5()
            {
                var h = AllyTeam.ElementAt(5);

                if (h != null && h.IsValid)
                {
                    if (h.IsDead)
                    {
                        return(true);
                    }
                    return(false);
                }
                return(false);
            }
Exemple #10
0
            private static Champion AllyGet(int index)
            {
                var h = AllyTeam.ElementAt(index);

                return(h.Hero);
            }