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

    Hierarchy (View Summary)

    Index
    • get actor(): any

      The Actor associated with this tracker entry's combatant, if any.

      Returns any

    • get combat(): any

      The Combat document that owns this tracker entry. Parent chain: TrackerEntryModel → CombatDownModel → BodyMindSoulBaseCombat → Combat

      Returns any

    • get combatant(): any

      The Combatant associated with this tracker entry, if any. Subclasses (TrackerActionModel, TrackerEffectModel) define combatantId.

      Returns any

    • get tracksResolvedState(): boolean

      Whether this action's resolved flag should ever be written. Hold-type actions re-fire every cycle while pinned at resolutionTime 0 and must never transition to resolved: true — see classifyStep/_processCombatSteps.

      Returns boolean

    • Mark this action resolved in a mutable downs snapshot, honoring the hold-exemption rule. Mutates the matching plain-object entry in downs in place; does NOT persist — the caller is responsible for committing the snapshot (batched, once per advance cycle). MUST be called only after this action's real resolution work has genuinely completed — never pre-emptively. Calling this before resolution runs reintroduces the v0.7.1 regression where _resolveOnce's live-flag guard would see the action already marked resolved and skip calling _resolveOneAction entirely, silently breaking swing triggers on natural advance.

      Parameters

      • downs: object[]

        Mutable downs snapshot (plain objects).

      Returns boolean

      true if a matching entry was found and marked.

    • Returns {
          id: any;
          originalResolutionTime: any;
          playerVisible: any;
          repetitions: any;
          resolutionTime: any;
          revealedToUserIds: any;
          targets: any;
      }