Make sure a die can actually land on its highest number
This commit is contained in:
parent
859db4ebdd
commit
cc22774729
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ namespace Geekbot.net.Lib.DiceParser
|
||||||
{
|
{
|
||||||
var result = new DieResult
|
var result = new DieResult
|
||||||
{
|
{
|
||||||
Roll1 = _random.Next(1, Sides),
|
Roll1 = _random.Next(1, Sides + 1),
|
||||||
AdvantageType = AdvantageType
|
AdvantageType = AdvantageType
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue