<commit_before>﻿using System;

namespace DnDEngine.Roller
{
    public static class DiceRoller
    {
        public static int RollD100()
        {
            return new Random().Next(1, 100);
        }

        public static int RollD20()
        {
            return new Random().Next(1, 20);
        }

        public static int RollD12()
        {
            return new Random().Next(1, 12);
        }

        public static int RollD10()
        {
            return new Random().Next(1, 10);
        }

        public static int RollD8()
        {
            return new Random().Next(1, 8);
        }

        public static int RollD6()
        {
            return new Random().Next(1, 6);
        }

        public static int RollD4()
        {
            return new Random().Next(1, 4);
        }
    }
}<commit_msg>Added a more generic DiceRoller to kill fun<commit_after>﻿using System;

namespace DnDEngine.Roller
{
    public static class DiceRoller
    {
        public static int RollD100()
        {
            return new Random().Next(1, 100);
        }

        public static int RollD20()
        {
            return new Random().Next(1, 20);
        }

        public static int RollD12()
        {
            return new Random().Next(1, 12);
        }

        public static int RollD10()
        {
            return new Random().Next(1, 10);
        }

        public static int RollD8()
        {
            return new Random().Next(1, 8);
        }

        public static int RollD6()
        {
            return new Random().Next(1, 6);
        }

        public static int RollD4()
        {
            return new Random().Next(1, 4);
        }

        // the no good fun killer lazy version of rolling dice
        public static int RollDice(int NumberOfSides, int NumberOfDice)
        {
            int RandomNumber = 0;
            for (int i = 1; i <= NumberOfDice; i++)
            {
                RandomNumber += new Random().Next(1, NumberOfSides);
            }
            return RandomNumber;
        }
    }
}
{'fraction_non_alphanumeric': 0.09902912621359224, 'fraction_numerical': 0.03155339805825243, 'mean_word_length': 1.336734693877551, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1454014', 'n_tokens_mistral': 618, 'n_tokens_neox': 566, 'n_words': 168}