Skip to content

Releases: Kergalli/dragonbane-campaign-assistant

Version 2.1.0

Choose a tag to compare

@Kergalli Kergalli released this 30 Jun 03:10

[2.1.0] - 2026-06-29

✨ Added - Learning Magic from a Teacher

Implements the "learn a spell from a teacher" option from the magic rules, letting a spellcaster spend advancement marks on learning new spells instead of increasing skill levels.

Spell Learning Allocator (Step 2)

  • New Allocator Control: A stepper in Step 2 lets players allocate one or more advancement marks to learning spells from a teacher
    • Marks spent on spell learning draw from the same pool as skill marks — the available-marks counter accounts for both
    • The control only appears for characters who know at least one school of magic, detected via the system's skillType: "magic" tag (no maintained spell-school list, works with homebrew schools and in any language)
  • Reporting, Not Adjudication: The module records that marks were spent learning spells; it does not pick the spell or roll for you
    • Chat Summary: Reports the number of spells learned and includes a rules reminder
    • Journal: Advancement journal entries now include a "Spent Learning Spells" line in the Advancement Marks breakdown when applicable
  • Roll-Mode Agnostic: Spell marks are resolved the moment they are allocated, so they pass through both Bulk and Individual rolling modes untouched

Version 2.0.1

Choose a tag to compare

@Kergalli Kergalli released this 22 Jun 02:25

[2.0.1] - 2026-06-21

🌍 Localization

🇵🇱 Polish Language Support

  • Polish Localization: Complete Polish translation now available (contribution by GregorHak)
  • Full Coverage: All user-facing language has been fully translated

🐛 Bug Fixes

Journal Formatting

  • Fixed Italic Journal Text: Advancement journal entries no longer render entirely in italics

🔧 Compatibility

  • Foundry V14 Update Fix: Removed the compatibility.maximum ceiling from the manifest
    • Impact: The previous "maximum": "14" value was read as "up to 14.0," which blocked in-app updates for users on later v14 builds (e.g. 14.364) and surfaced as a "Manifest is different" error. Updates through Foundry's module manager now work normally

Version 2.0.0

Choose a tag to compare

@Kergalli Kergalli released this 17 Jun 23:15

[2.0.0] - 2026-06-17

🚀 Major Release - Foundry V14 & Dragonbane v4.x Compatibility

This major release brings the Campaign Assistant to Foundry V14 and the Dragonbane system v4.0.1. This is a clean cut to V14 — v2.x targets Foundry V14 only. Foundry v13 / Dragonbane v3.x users should stay on the v1.x release line.

🔧 Technical Improvements

Character Sheet Button

  • Header-Controls API: The "Session Advancement" button is now contributed through Foundry V14's native header-controls hook (getHeaderControlsDoDCharacterSheet) instead of manual DOM injection
    • Impact: The button now renders correctly in popped-out character sheets, a new V14 feature
    • Impact: Removed the timing-dependent DOM insertion and duplicate-guard logic, eliminating a class of render-timing bugs
  • Live Toggle: The "Add buttons to character sheets" setting now applies immediately to open sheets — no world reload required

Dragonbane v4 Alignment

  • Weakness Field: Weakness reads and removal now target the canonical system.weakness field on the v4 character data model, removing a dead fallback path that could silently fail

Template Modernization

  • Inline Handlers Removed: Removed inline onchange attributes from the advancement-question and weakness inputs; the dialog's submitOnChange form handling now drives the live marks counter

Journal Formatting

  • Edit-Safe Journal Entries: Advancement journal entries now retain their formatting after being edited and saved through Foundry's text editor
    • Impact: Previously, opening an auto-generated entry in the editor and saving it caused the rich-text editor to re-flow the content — bullet spacing expanded and list text lost its styling. Entries now render consistently whether freshly generated or hand-edited
  • Cleaner Generated Markup: Removed inline styles and redundant whitespace from generated journal HTML, deferring to the Dragonbane system's native journal styling for a more consistent parchment look
  • Note on Existing Entries: This fix applies to newly generated entries. Advancement entries created before v2.0.0 retain their original formatting and may still re-flow if edited and saved

📋 Breaking Changes

Foundry V14 Required

  • Minimum Foundry: Now requires Foundry V14 (verified 14.364) and Dragonbane v4.x (verified 4.0.1)
    • Impact: Not compatible with Foundry V13 / Dragonbane v3.x — use the v1.x release line for that environment
  • Compatibility Band: module.json minimum/verified/maximum set to V14; Dragonbane system requirement raised to v4.0.0+

🌍 Localization

  • Fully Localized UI Strings: Several previously hardcoded English strings are now translated across English, Swedish, and Italian — the Session Advancement window title, the weakness-rule mark labels ((+1 mark) / (+2 marks, removes weakness)), the "no skills advanced" chat result, and the advancement-cancelled notification
  • Localized Journal Folder: The journal folder that stores advancement history is now named in the GM's language rather than always English
    • Impact: On existing non-English worlds, the original English-named "Advancement History" folder remains in place and a new localized folder is created going forward. Previously recorded journals are not moved. Single-language and English worlds are unaffected. To consolidate, manually move existing character journals into the new folder

Version 1.2.0

Choose a tag to compare

@Kergalli Kergalli released this 04 Feb 05:24

[1.2.0] - 2025-02-04

Enhanced

  • Journal Recording System - Complete visual overhaul with improved formatting
    • Blockquote-style sections matching Dragonbane parchment aesthetic
    • Enhanced data capture including weakness at session start and comprehensive marks breakdown

Version 1.1.0

Choose a tag to compare

@Kergalli Kergalli released this 05 Jan 17:14

[1.1.0] - 2025-01-05

✨ Added - Major Features

Advancement Roll Mode Setting

  • Flexible Rolling Workflows: New module setting to choose between two rolling styles
    • Bulk Rolling (default) - Roll all marked skills at once
    • Individual Rolling - Click each skill to roll individually for dramatic effect

Individual Rolling Workflow

  • Click-to-Roll System: Skills are clickable with D20 icons in Step 3
    • Each skill posts roll results to chat immediately
    • Skills gray out after rolling with checkmark indicators
    • "Complete Session" button appears when all skills are rolled
    • Session summary and journal entry created after completion

Enhanced Cancel Functionality

  • Smart Cancel Handling: Cancel button adapts to dialog state with confirmations
    • Step 2: Removes marks added during current session
    • Step 3 Individual Mode: Confirms before reverting all rolls and marks

🐛 Bug Fixes

Dark Mode Button Styling

  • Fixed Button Text Visibility: Buttons now readable in Foundry VTT dark mode
    • Consistent hover states across light and dark themes

Level 18 Skills in Step 3

  • Fixed Level 18 Skills Appearing as Rollable: Skills at maximum level (18) no longer appear in Step 3
    • Resolves issue where dragon/demon rolls on maxed skills marked them behind the scenes
    • Step 3 now filters out level 18 skills regardless of mark status

🎨 Enhanced - UI/UX Improvements

Visual State Indicators

  • Improved Skill Status Clarity: Better visual distinction between skill states
    • D20 icon for skills ready to roll
    • Checkmark circle for already-rolled skills
    • Grayed background for completed rolls

🌍 Localization Improvements

🇮🇹 Italian Language Support

  • Italian Localization: Complete Italian translation now available (contribution by LuckyFrico)
  • Full Coverage: All settings, actions, combat rules, journey actions, and UI elements fully translated

Version 1.0.0

Choose a tag to compare

@Kergalli Kergalli released this 31 Dec 01:44
bf31854

[1.0.0] - 2025-01-01

Added

  • Session Advancement Workflow - Complete implementation of the 5 advancement questions from Dragonbane rulebook
  • Bulk Skill Rolling - Roll all marked skills at once with automatic level increases
  • Automatic GM Journals - Session advancement history automatically recorded in GM journals organized by character
  • Customizable Questions - Four checkboxes to hide default advancement questions
  • Custom Questions - Add house-rule advancement questions (semicolon-separated)
  • Optional Weakness Rule - Enable/disable the weakness advancement question (disabled by default)
  • Level 18 Cap - Skills automatically cap at maximum level with special celebration notifications
  • Visual Skill Differentiation - Teal-colored skills track new skills that were selected during advancement
  • Session History API - Track advancement history in actor flags for API access
  • Cross-Client Support - Seamless socket integration for multi-user sessions
  • Localization - Full English and Swedish translations
  • Character Sheet Button - Optional "Session" button on character sheets (up arrow in header) for player-initiated advancement
  • Chat Integration - Session summaries posted to chat with detailed skill advancement results

Features

  • Three-step wizard interface with clear visual progression
  • Dynamic marks counter showing remaining advancement marks
  • Weakness removal dialog with rulebook reminder about session requirements
  • Smart filtering to exclude level 18 skills from selection