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

    Class DamagePartModel

    Hierarchy

    • any
      • DamagePartModel
    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    formula: string

    Damage formula

    types: Set<String>

    Damage type IDs

    Is an array in raw data instead.

    Accessors

    • get custom(): Set<string>

      Custom types

      Returns Set<string>

    • get names(): string[]

      Parsed names of all types

      Returns string[]

    • get parsed(): { custom: Set<string>; standard: Set<DamageType> }

      Parsed types

      Returns { custom: Set<string>; standard: Set<DamageType> }

    • get standard(): Set<DamageType>

      Standard types

      Returns Set<DamageType>

    Methods

    • Returns void

    • Prune data

      Parameters

      • source: object

        Damage part data

      Returns void