Pathfinder 1e for Foundry VTT
    Preparing search index...

    Class PointBuyCalculator

    An application offering the user an interface to use the point-buy rules described in the Pathfinder CRB to determine their characters ability scores.

    Hierarchy

    • HandlebarsApplication<this> & DocumentSheetV2<
          any,
          RenderContext<any>,
          Configuration<any>,
          RenderOptions,
          this,
      >
      • PointBuyCalculator
    Index

    Properties

    abilities: { key: string; name: string; value: number }[]

    The actors current ability scores.

    max: number

    Maximum possible ability score value.

    min: number

    Minimum possible ability score value.

    Accessors

    • get actor(): ActorPF

      Alias the document property to actor

      Returns ActorPF

    • get spentPoints(): number

      Get the number of points spent on ability scores.

      Returns number

    Methods

    • Internal

      Update ability score value display and remaining points on subtract/add operations.

      Parameters

      Returns Promise<void>

    • Internal

      Update the actors ability scores based on the current input values.

      Parameters

      Returns Promise<void>