Esempio n. 1
0
        public static int GetCurrentStateScore(this MingmingBattleLogic mingming)
        {
            int statusScore = mingming.GetStatuses().Aggregate(0, (score, pair) => score += pair.Key.GetScore(pair.Value));

            return(mingming.CurrentHealth * 2 + statusScore);
        }