Description Usage Arguments Value Examples
View source: R/compute_statweights.R
Simulates current dps and dps with increased stats to compute weights for these stats. The result is scaled such that spell power has weight 1.
1 2 3 4 5 6 7 | compute_statweights(
stats,
trinkets = NULL,
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 |
trinkets |
which use trinkets are equipped, currently implemented: toep (Talisman of Ephemeral Power) zhc (Zandalarian Hero Charm) |
timeframe |
vector of minimal and maximal duration of a fight in seconds |
iter |
number of iterations |
seed |
optional seed |
a data frame with weights
1 2 3 4 | compute_statweights(
list(int = 277, sp = 346, crit = 2, hit = 2),
iter = 1000
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.