Exemple #1
0
        private bool tryField(DefensiveAttributes.POSITION _pos, Game _game)
        {
            int randomResult = randomOneToThousand();
            if (randomResult > _game.GetDefenderFielding(_pos) * 9 + 100)
            {
                return false;
            }

            return true;
        }