DndDice/man/disadvantage.Rd

25 lines
529 B
Text
Raw Normal View History

2019-03-19 03:56:07 +00:00
% 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)
}