Static
fromConvert number to string representation.
Number to transform
Static
fromConvert a CR step index to its corresponding CR value.
The creature's challenge rating, an index into pf1.config.crSteps
Static
fromParse CR string to produce a numeric representation
Parses 1/8, 1/6, 1/4, 1/3, and 1/2 as exact decimals. Everything else is treated as regular number string and passed through parseFloat().
String to transform
Static
getGet the CR step for a given CR value.
The creature's challenge rating
Static
getReturn the amount of experience granted by killing a creature of a certain CR.
The creature's challenge rating
Challenge Rating helper functions.