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

    Function _acquireResolvePass

    • Get the in-progress ResolvePass for combat, creating one from a fresh live-document snapshot if none exists yet, and register the caller's interest in it via ResolvePass#attach.

      Callers MUST pair this with a matching _releaseResolvePass call in a finally block, regardless of success or failure.

      Exported (despite the underscore, matching the existing _enqueueDownsWrite convention) solely so tests can simulate the exact interleaving _mutateDowns's reentrancy fix depends on — e.g. setting pass._inHookWindow = true to exercise the reentrant path without spinning up a full advanceTracker() cycle. Not intended as a general external API; production code only ever reaches this through BodyMindSoulCombat's own methods.

      Parameters

      Returns ResolvePass