Skip to content

Releases

v2.4.1

Choose a tag to compare

@github-actions github-actions released this 19 Nov 15:15

Full Changelog: v2.4.0...v2.4.1

v2.4.0 — Combat start, roll advantage & reminder filters

Choose a tag to compare

@TacticalOtaku TacticalOtaku released this 16 Nov 18:17

Version 2.4.0

Added

  • Combat start trigger (combatStart): fires once per distinct combatant actor when a combat begins.
  • Roll advantage / disadvantage result (rollAdvantage): grants advantage or disadvantage on attacks, saving throws, ability checks, or signals—both automatically and as an optional choice in roll dialogs or via riders—while following D&D 5e mutual-cancellation rules.
  • Reminder audience filters: choose who receives each note—As usual (roll dialog / owner & GM), Me only (owner), GM only (hidden from players in roll dialogs), Target's owner (and GM), or Everyone (public chat). Cancelled rolls post nothing, and fast-forwarded rolls fall back to chat on submit.

Improved

  • Consolidated runtime orchestration (src/runtime/play.ts, src/foundry/play.ts), multiplayer transport (src/runtime/transport.ts), and shared editor-host/evaluator/UI helpers with strict module boundaries and expanded unit and live Foundry test coverage.

Compatibility

  • Foundry VTT 14.367 and dnd5e 5.3.3; optional Midi QOL 14.0.12 and DAE 14.0.14 integrations remain supported.

Full changelog: v2.3.2...v2.4.0

v2.3.2 — Custom effect conditions

Choose a tag to compare

@TacticalOtaku TacticalOtaku released this 31 Oct 20:11

Version 2.3.2

Added

  • My effects and Target effects condition checks, including custom Active Effects created by the GM.
  • Match an effect by its full name (case-insensitive) or by its source: choose an available effect, drag an Active Effect into the field, or enter its UUID.
  • Require an effect to be Present or Absent. Effects must be active by default; Include inactive effects also counts disabled and suppressed applicable effects. Transferred item effects are included.

Improved

  • Effects copied by Apply effect retain their source identity, including through repeated copies. Source checks distinguish effects with identical names. For older or third-party copies without a retained source link, use name matching.
  • Source selection preserves the previous choice on invalid input and ignores outdated asynchronous lookup results. Explicitly invalid references on new checks fail instead of leaving the check unrestricted.

Compatibility

  • Foundry VTT 14.367 and dnd5e 5.3.3; optional Midi QOL 14.0.12 and DAE 14.0.14 integrations remain supported.
  • Existing status checks and saved blueprints keep their previous behavior. Target-effect checks require a selected target.

Full changelog: v2.3.1...v2.3.2

Build-n-Action 2.3.1

Choose a tag to compare

@TacticalOtaku TacticalOtaku released this 22 Oct 17:57

2.3.1

Added

  • "Target hit points" check. Like "My hit points", for the target: at most or at least a percentage of its hit points (temporary hit points not counted). Without a target the check fails.

Fixed

  • A broken bonus formula no longer cancels the roll. A formula such as 2d + in one blueprint made the whole roll fail, with every other bonus. It is now skipped, the console says so once, and the editor marks it as before.
  • "After the target's save" works under Midi QOL when Midi does not roll saves. With Midi's "Auto check saves" set to none, the targets roll from the save buttons on the card; those saves now start the reaction, as without Midi.
  • No more senses.* deprecation warnings from @target. The target's roll data now carries plain sense values; formulas such as @target.attributes.senses.darkvision still work, and the target's actor is left untouched.
  • Aura previews and wall checks use the current Foundry canvas classes, not globals that Foundry v15 removes.

Development

  • tests/live/edge-check.js: limits in a real combat, unlinked tokens, broken formulas and throwing scripts, rollers without a token, and target hit points after damage.

Build-n-Action 2.3.0

Choose a tag to compare

@TacticalOtaku TacticalOtaku released this 08 Oct 11:53

2.3.0

Security

  • A script check runs only where no other player can edit it. Before, a player's script ran in the GM's browser with the GM's rights whenever the GM evaluated that blueprint: at the start of the player's turn, or through an aura on an NPC's roll. Now the GM runs scripts only on documents no player owns, and a player runs only their own. Elsewhere the check fails, and the Test tab says why.
  • The GM checks who asked for a change. A change a player's reaction sends to the GM must touch something that player owns, or a creature on the scene they are looking at. The sender now comes from Foundry, not from the message. Each field of the change is checked before it is used. Rest triggers run only for the player's own actors. Demanded-save answers are accepted only from the player who was asked.

Fixed

  • Counter changes add up. Two results changing the same counter on one roll (for example, two "+1 combo" blueprints) used to count once. With a GM connected, counter changes are made one at a time from the stored value.
  • A cancelled roll spends nothing. Closing the roll dialog no longer uses up a limited bonus ("once per turn") or a rider. The build-n-action.applyResult hook now fires for a roll's results once the roll actually goes ahead.
  • Riders no longer overwrite each other. A rider added by one client while another client uses a different one is kept. Riders are now stored by id; a list stored by an earlier version is converted the first time it changes.

Development

  • npm run release works right after a version bump: every build writes the root module.json, and npm run check builds before it tests.
  • Removed unused code: PRE_ROLL_EVENTS and getIn.

Build-n-Action 2.2.1

Choose a tag to compare

@TacticalOtaku TacticalOtaku released this 07 Oct 20:57

2.2.1

Fixed

  • The template picker no longer breaks the editor. In a world whose blueprint library had never been saved, the "Templates" and "Library" buttons crashed the editor with React error #185 and left the window blank.

Build-n-Action 2.2.0

Choose a tag to compare

@TacticalOtaku TacticalOtaku released this 29 Sep 22:29

2.2.0

Added

  • Debug logging client setting: detailed diagnostics in the browser console, off by default.

Development

  • One logger (src/core/log.ts) replaces direct console calls; every message keeps the Build-n-Action | prefix.
  • npm run check (typecheck, lint, tests, build), npm run watch (was dev), npm run deploy; npm run release
    runs the check first and never replaces an existing archive. Prettier with the shared configuration.

Build-n-Action 2.1.1

Choose a tag to compare

@TacticalOtaku TacticalOtaku released this 29 Sep 10:25

2.1.1

Fixed

  • No Foundry v14 deprecation warnings when saving counters or deleting migration backups. The module now uses v14 update operators instead of the old -= keys, which Foundry will stop accepting.
  • Attack reactions without Midi QOL now listen to dnd5e.rollAttack, the hook dnd5e documents, not the dnd5e.rollAttackV2 alias that newer dnd5e versions no longer call.
  • Test tab: the "Who rolls" and "Target" lists are no longer rebuilt on every redraw or when a token moves. They refresh when a token is placed, removed, renamed, hidden or given another actor, or when an actor is created, deleted or renamed.

Build-n-Action 2.1.0

Choose a tag to compare

@TacticalOtaku TacticalOtaku released this 25 Sep 02:50
v2.1.0

v2.1.0

Build-n-Action 2.0.1

Choose a tag to compare

@TacticalOtaku TacticalOtaku released this 24 Sep 08:32
v2.0.1

v2.0.1