add_buff: Add Buff

Description Usage Arguments Examples

View source: R/add_buff.R

Description

Adds a buff, consumable or worldbuff to stats. Seed with_buffs for details.

Usage

1
add_buff(stats, buff)

Arguments

stats

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

buff

shortcut of the buff to add

Examples

1
2
3
stats <- list(int = 275, sp = 581, crit = 5, hit = 9)
add_buff(stats, "ony")
add_buff(stats, "eosp")

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