damage.default: Current HP damage modifier

Description Usage Arguments Value See Also

Description

Will allow for the DnD character's current HP to be automatically updated. No assignment is neccessary. This is a generic method with two functions, one for a DnD class object and one for a non-DnD class object.

Usage

1
2
## Default S3 method:
damage(which.character, damage)

Arguments

which.character

The DnD character who being hurt

damage

The amount the character's health is to decrease by

Value

Will return the character with the new health status

See Also

damage.default


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