Description Usage Arguments Value Examples
View source: R/compare_items.R
Simulates dps with current stats and with new stats to compare them.
1 | compare_items(stats, items, timeframe = c(60, 300), iter = 50000, seed = NULL)
|
stats |
a named list with the stats of the character including int, sp, crit, hit and mp5 |
items |
list where each element indicates the stat changes by an item |
timeframe |
vector of minimal and maximal duration of a fight in seconds |
iter |
number of iterations |
seed |
optional seed |
a data frame
1 2 3 4 5 6 7 8 | compare_items(
list(int = 277, sp = 346, crit = 2, hit = 2),
items = list(
new_item1 = list(crit = -1, hit = 1),
new_item2 = list(int = 5, sp = 3)
),
iter = 1000
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.