BELOW NEEDS TO BE UPDATED. MAJOR CHANGES HAVE CHANGED THE FUNCTIONALITY
Player Felix = new Player { Name = "Felix", RaceType = ERaces.Human, OwnerName = "Jonathan", ClassType = EClasses.Fighter, Level = 1, };
DiceRoll Dice = new DiceRoll(); var Response = Dice.Roll(amount, sides);
Amount is the amount of die, and the sides is well... how many sides the die has.
Dice.Roll(1, 20); Is the same as rolling a 1d20
Player Gotrek = new Player { Name = "Gotrek", RaceType = ERaces.Dwarf, ClassType = EClasses.Fighter, Level = 5, }; Equipment Cheese = new Equipment { Type = EEquipmentType.Food, Name = "Cheese", Description = "Some slightly moldy cheese.", Price = { Copper = 5 } }; Gotrek.Equipment.Add(Cheese);