Skip to content

Latest commit

 

History

History
38 lines (19 loc) · 692 Bytes

File metadata and controls

38 lines (19 loc) · 692 Bytes

HitPointDie

Describes the hit point die used by the class.

If referenced as a unit (ignoring inner attributes), it will render formatted strings based on the class version (2024 or not).

Attributes

average, classic, face, isClassic, isSidekick, name, number, sidekick

average

The average value of a hit dice roll

classic

face

Die to roll (8, 10); This will be 0 for sidekicks

isClassic

True if this is a 2014 class

isSidekick

Explicit test for sidekick (alternate to 0 face)

name

number

How many dice to roll (pretty much always 1)

sidekick