24 lines
529 B
R
24 lines
529 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/disadvantage_advantage.R
|
|
\name{disadvantage}
|
|
\alias{disadvantage}
|
|
\title{Disadvantage}
|
|
\usage{
|
|
disadvantage(x, y = NULL)
|
|
}
|
|
\arguments{
|
|
\item{x}{A die to roll.}
|
|
|
|
\item{y}{A die to roll. If not specified, then x is disadvantaged against itself.}
|
|
}
|
|
\value{
|
|
A die representing the minimum of both die
|
|
}
|
|
\description{
|
|
Disadvantage a die roll, which means that when both die are rolled, the result
|
|
is the lower number.
|
|
}
|
|
\examples{
|
|
disadvantage(d20,d20)
|
|
|
|
}
|