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

    Function _collectCheckMods

    • Evaluate bms.beforeCheck triggers for an actor and return accumulated modifiers. Always routes to the lead GM for evaluation so conditions can safely read any world state.

      If the current user IS the lead GM, evaluates locally. If not, sends a socket request and awaits the result (3s timeout → zero mods).

      Parameters

      • actor: Actor
      • checkInfo: object

        { attribute, archetype, isAttribute, isVector, isGeneralCheck, isSavingThrow, keywords, dc, compelled }

      Returns Promise<{ advantageMod: number; dcMod: number }>