DndDice/man/reroll.Rd

24 lines
474 B
Text
Raw Permalink Normal View History

% 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)
}