compare_buffs: Compare Buffs

Description Usage Arguments Value Examples

View source: R/compare_buffs.R

Description

Simulates dps with current stats and with new stats to compare them.

Usage

1
2
3
4
5
6
7
8
compare_buffs(
  stats,
  consumables = character(),
  worldbuffs = character(),
  timeframe = c(60, 300),
  iter = 50000,
  seed = NULL
)

Arguments

stats

a named list with the stats of the character including int, sp, crit, hit and mp5

consumables

shortcuts of consumables

worldbuffs

shortcuts of worldbuffs

timeframe

vector of minimal and maximal duration of a fight in seconds

iter

number of iterations

seed

optional seed

Value

a data frame

Examples

1
2
3
compare_buffs(with_buffs(list(int = 275, sp = 581, crit = 5, hit = 9)),
  consumables = c("gae", "eosp", "bwo"), iter = 1000
)

cphaarmeyer/warlockr documentation built on April 1, 2021, 12:31 a.m.