saving_throw.DnD: Saving Throws

Description Usage Arguments Value Note

Description

Will allow for a saving throw for a DnD character.

Usage

1
2
## S3 method for class 'DnD'
saving_throw(which.character, save, ...)

Arguments

which.character

The DnD character who is making the saving throw

save

What save is to be checked? Please no quotes.

...

Additional arguments to be passed to the roll() function.

Value

Will return the the saving throw including the proficiency bonus and character statistic modifier added properly.

Note

There is no way to tell if the dice rolled used adv/dis after the fact so be careful in specifing the parameters.


vinny-paris/DnD documentation built on May 3, 2019, 6:13 p.m.