• Convert a die face value or a list of face values to a face mask for use with the animation classes.

    Parameters

    • faceValueOrFaceList: number | number[]

      A die face value or list of face values.

    • dieType:
          | "unknown"
          | "d4"
          | "d6"
          | "d8"
          | "d10"
          | "d00"
          | "d12"
          | "d20"
          | "d6pipped"
          | "d6fudge"

    Returns number

    A face (bit) mask.