Don't count 1 to many sides in the !dice command

This commit is contained in:
runebaas 2020-11-02 18:33:05 +01:00
parent 2fb815bc97
commit 4c3b7044ce
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6

View file

@ -32,7 +32,7 @@ namespace Geekbot.Core.DiceParser
{ {
var result = new DieResult var result = new DieResult
{ {
Roll1 = _random.Next(1, Sides + 1), Roll1 = _random.Next(1, Sides),
AdvantageType = AdvantageType AdvantageType = AdvantageType
}; };