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

    TempStack — an ordered, transient list of cards extracted from a deck and held aside on an actor for later use. Backing storage for abilities like Norai's Grand Design.

    Cards are "set aside" by marking them drawn: true on sourceDeckId, which removes them from that deck's normal draw rotation. The stack stores card IDs (top of stack = index 0) plus expiry metadata. On expiry the remaining cards are returned per returnOnExpire: "source" — un-draw on sourceDeckId and shuffle "discard" — leave drawn (effective discard pile) "remove" — delete the card documents

    metadata is an open bag for ability-specific flags. Reactive triggers fired by bms.tempStackConsumed read these to apply ability-specific side-effects (e.g. Grand Design's inkmarkTargetsOnUse).

    Hierarchy

    • any
      • default
    Index
    • Returns default

    • get isEmpty(): boolean

      Returns boolean

    • get topCardId(): any

      Top card ID (next to be consumed), or null if the stack is empty.

      Returns any

    • Returns {
          cardIds: any;
          expiresOn: any;
          grantedBy: any;
          id: any;
          label: any;
          metadata: any;
          originEffectUuid: any;
          returnOnExpire: any;
          sourceDeckId: any;
      }