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

    Class DamageType

    A single damage type entry in the DamageTypes registry.

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • ...args: ConstructorArgs<any, null, any>

      Returns DamageType

    Properties

    _id: string
    abbr: string

    Abbreviation

    category: keyof readonly ["physical", "energy", "misc"]

    Category

    misc

    color: string

    Color

    flags?: object
    icon?: string

    Icon

    Not used if image is defined

    img?: string

    Image

    Required if no icon is defined.

    isModifier: boolean

    Is not real damage type on its own

    name: string
    namespace: string

    Accessors

    • get id(): string

      The unique key of the value.

      Returns string

    • get isEnergy(): boolean

      Returns boolean

    • get isPhysical(): boolean

      Returns boolean

    • get isUtility(): boolean

      Returns boolean

    Methods

    • Protected

      Localize fields

      Returns void

    • Protected

      Prepares the data of the registry entry.

      Returns void