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

    Interface ActorRollOptions

    interface ActorRollOptions {
        action?: string;
        actions: unknown;
        bonus?: string;
        chatMessage?: boolean;
        dc?: number;
        dice?: string;
        item?: Item<"base" | ModuleSubType>;
        maneuver?: null | string | boolean;
        messageData?: object;
        noSound?: boolean;
        rollMode?: string;
        skipDialog?: boolean;
        sl?: number;
        staticRoll?: number;
        token?: TokenDocument;
    }

    Hierarchy

    • Omit<
          D20ActorRollOptions,
          | "rollData"
          | "parts"
          | "subject"
          | "flavor"
          | "chatTemplateData"
          | "compendium"
          | "speaker",
      >
      • ActorRollOptions
    Index

    Properties

    action?: string

    The selected sub-action depending on the context.

    actions: unknown
    bonus?: string

    Bonus to the roll.

    chatMessage?: boolean

    Whether a chat message should be created.

    true

    dc?: number

    DC threshold

    dice?: string

    The roll's d20 die (replacement), or the static result the d20 should have.

    "1d20"

    item?: Item<"base" | ModuleSubType>

    Associated item

    maneuver?: null | string | boolean

    Whether this is a maneuver and its id.

    messageData?: object

    Additional data to add to the chat message.

    noSound?: boolean

    Whether no dice sound should be played when the chat message is created.

    false

    rollMode?: string

    The rollMode with which the chat message is created.

    game.settings.get("core", "rollMode")

    skipDialog?: boolean

    Whether a user facing dialog should be shown.

    true

    sl?: number

    Spell level

    staticRoll?: number

    A number used as a static roll result of the d20. If null, the d20 is rolled normally and the result is used.

    undefined

    token?: TokenDocument

    Associated token if any.