diff --git a/bind.sty b/bind.sty index 4b5399372e483749a5138aa509e4ba1f82e859fd..8b3d5ee3a113235f1bd5d440e01645600625f403 100644 --- a/bind.sty +++ b/bind.sty @@ -387,8 +387,15 @@ Roll & Result \\ \ifnum\value{r3}<1\setcounter{r3}{2}\fi% } -\newcommand{\randomthreeB}{ - \ifnumcomp{\value{r3b}}{>}{2}{\setcounter{r3b}{1}}{\addtocounter{r3b}{1}} +\newcommand{\randomthreeB}{% + \ifnum\value{r3b}>2% + \setcounter{r3b}{1}% + \else% + \addtocounter{r3b}{1}% + \fi% + \ifnum\value{r3b}<1% + \setcounter{r3b}{3} + \fi% } \newcommand{\randomthreeC}{