Hierarchy

  • any
    • HealthConfigModel

Constructors

Properties

continuous: boolean
maximized: number
npc: {
    classes: {
        base: { auto: boolean; maximized: boolean; rate: number };
        npc: { auto: boolean; maximized: boolean; rate: number };
        racial: { auto: boolean; maximized: boolean; rate: number };
    };
    rules: { useWoundsAndVigor: boolean; useWoundThresholds: 0
    | 1
    | 2 };
}
pc: {
    classes: {
        base: { auto: boolean; maximized: boolean; rate: number };
        npc: { auto: boolean; maximized: boolean; rate: number };
        racial: { auto: boolean; maximized: boolean; rate: number };
    };
    rules: { useWoundsAndVigor: boolean; useWoundThresholds: 0
    | 1
    | 2 };
}
rounding: string

up

Accessors

  • get hitdice(): {
        NPC: { auto: boolean; maximized: boolean; rate: number };
        PC: { auto: boolean; maximized: boolean; rate: number };
        Racial: { auto: boolean; maximized: boolean; rate: number };
    }
  • Returns {
        NPC: { auto: boolean; maximized: boolean; rate: number };
        PC: { auto: boolean; maximized: boolean; rate: number };
        Racial: { auto: boolean; maximized: boolean; rate: number };
    }

  • get variants(): {
        npc: { useWoundsAndVigor: boolean; useWoundThresholds: 0
        | 1
        | 2 };
        pc: { useWoundsAndVigor: boolean; useWoundThresholds: 0 | 1 | 2 };
    }
  • Returns {
        npc: { useWoundsAndVigor: boolean; useWoundThresholds: 0 | 1 | 2 };
        pc: { useWoundsAndVigor: boolean; useWoundThresholds: 0 | 1 | 2 };
    }

Methods

  • Retrieve hit die configuration relevant to given class.

    Parameters

    • item: ItemClassPF
    • OptionalactorType: string

      Actor type. If not provided, will be retrieved from the item parent.

    Returns object

  • Returns { continuous: any; maximized: any; npc: any; pc: any; rounding: any }