treasure | R Documentation |
Roll for random treasure
treasure(n, challenge = 0, type = "individual", collapse = FALSE)
n |
number of times to roll |
challenge |
challenge rating of creatures |
type |
individual or hoard |
collapse |
logicical, if true, will just return total |
treasure(n = 2) # 2 individuals challenge of 0
treasure(n = 1, challenge = 3)
treasure(n=29, collapse = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.