24 lines
474 B
Text
24 lines
474 B
Text
|
% Generated by roxygen2: do not edit by hand
|
||
|
% Please edit documentation in R/reroll.R
|
||
|
\name{reroll}
|
||
|
\alias{reroll}
|
||
|
\title{Reroll}
|
||
|
\usage{
|
||
|
reroll(x, numbers)
|
||
|
}
|
||
|
\arguments{
|
||
|
\item{x}{The die to possibly reroll}
|
||
|
|
||
|
\item{numbers}{The numbers to reroll on}
|
||
|
}
|
||
|
\value{
|
||
|
A new die with updated probabilties
|
||
|
}
|
||
|
\description{
|
||
|
If the die lands on the provided \code{numbers}, then the die is re-rolled
|
||
|
once with the output being final.
|
||
|
}
|
||
|
\examples{
|
||
|
paladin.greataxe <- reroll(d12, 1:2)
|
||
|
}
|