• Returns the result of a roll of die, which changes based on different sizes.

    Applies size change damage progression as per Paizo's FAQ entry for it.

    Parameters

    • origCount: number

      The original number of die to roll.

    • origSides: number

      The original number of sides per die to roll.

    • Optional targetSize: string | number = "M"

      The target size to change the die to. Can be a string of values "F", "D", "T", "S", "M", "L", "H", "G" or "C" for the different sizes. Can also be a number in the range of 0 to 8, where 4 is Medium.

    • Optional initialSize: string | number = "M"

      The initial size of the creature. See targetSize above.

    Returns Die[] | NumericTerm[]

    The resulting die roll.

Generated using TypeDoc