Body, Mind & Soul — API Reference
    Preparing search index...

    Function useGlyphAction

    • Use an action embedded in a glyph. Guards on geo-synergy requirements first (warns and stops when the glyph's geo synergy is not active on the actor), then delegates to useEmbeddedAction. Glyph durability is consumed there, after resource validation passes.

      Config:

      • actor: the owning actor. Its _getActiveGeoTypes() supplies the active geo types.
      • glyphItem: the glyph item that owns the action (durability source).
      • glyphAction: the embedded action, looked up from glyphItem.actions by the caller.
      • glyphUuid: the source id passed to the combat queue. Defaults to glyphItem.uuid.
      • busyElement: optional element disabled while the in-combat queue call runs.

      Parameters

      • options: {
            actor: any;
            busyElement?: BusyElement;
            glyphAction: any;
            glyphItem: any;
            glyphUuid?: string;
        }

        Workflow inputs.

        • actor: any

          The actor using the action.

        • OptionalbusyElement?: BusyElement

          Optional element to disable during the in-combat queue call.

        • glyphAction: any

          The glyph's embedded action.

        • glyphItem: any

          The glyph item owning the action.

        • OptionalglyphUuid?: string

          Optional source UUID override for the combat queue.

      Returns Promise<void>

      Resolves when the workflow finishes or stops early.