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

    Trap actor data model

    Hierarchy (View Summary)

    Index

    General

    _rollData: any
    bypass: "lock" | "hiddenSwitch" | "hiddenLock"
    cr: { offset: number }
    details: { xp: { value: number } } | undefined
    disarm: number
    duration: {
        units:
            | "round"
            | "turn"
            | "minute"
            | "hour"
            | "day"
            | "perm"
            | "seeText"
            | "spec"
            | "inst"
            | "month"
            | "year";
        value: string;
    }
    effect: HTML
    notes: HTML
    perception: number
    reset: {
        type: "manual" | "automatic" | "repair";
        units:
            | "round"
            | "turn"
            | "minute"
            | "hour"
            | "day"
            | "perm"
            | "seeText"
            | "spec"
            | "inst"
            | "month"
            | "year";
        value: string;
    }
    resources: {}
    technology: boolean
    trigger: {
        type:
            | "sound"
            | "spell"
            | "touch"
            | "manual"
            | "electricEyes"
            | "genetic"
            | "location"
            | "proximity"
            | "timed"
            | "visual";
        units: | "round"
        | "turn"
        | "minute"
        | "hour"
        | "day"
        | "perm"
        | "seeText"
        | "spec"
        | "inst"
        | "month"
        | "year";
        value: Formula;
        vision: | "seeInDarkness"
        | "arcaneEye"
        | "clairvoyance"
        | "darkvision"
        | "trueSeeing";
    }
    type: "magic" | "mechanical"
    • Prepare changes specific to this actor type

      Parameters

      • changes: any

      Returns void

    • Returns void

    • Get challenge rating.

      Returns number

      • CR
    • Generate generic labels.

      Returns void

    • Parameters

      • _type: any

      Returns { run: boolean; speed: number; step: boolean }

    • Prepare data post embedded documents have been prepared.

      This is before changes and before prepareDerivedData()

      Returns void

    • Returns void

    • Prepare data post change application.

      Returns void

    Document

    • Prepare actor.changeFlags alterations.

      Returns void