check_roll.DnD: Check Rolls for Skills

Description Usage Arguments Value Note See Also Examples

Description

Will allow for a skill check for a DnD character.

Usage

1
2
## S3 method for class 'DnD'
check_roll(which.character, skill, ...)

Arguments

which.character

The DnD character who is making the skill check

skill

What skill is to be checked? Please no quotes.

...

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

Value

Will return the the skill check 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.

See Also

check_roll.default

Examples

1
2
Blacksmith_Jamestown <- DnD(Josh, 4)
saving_throw(Blacksmith_Jamestown, str)

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