예제 #1
0
        public IEnumerable <Weight> GetHeroesStrengthAgainst(string[] enemyTeam)
        {
            var synergies = Calculator.GetHeroesStrengthAgainst(Calculator.Heroes.Where(h => enemyTeam.Contains(h.Name)));

            return(synergies);
        }
예제 #2
0
        public IEnumerable <Weight> GetHeroesThatHaveSynergiesWith(string[] team)
        {
            var synergies = Calculator.GetSynergies(Calculator.Heroes.Where(h => team.Contains(h.Name)));

            return(synergies);
        }