• 0.9.32 e161645228

    Add PF2e spell description popovers in stat blocks
    CI / check (push) Successful in 2m31s
    CI / build-image (push) Successful in 26s

    dostulata released this 2026-04-10 16:18:08 +02:00 | 9 commits to main since this release

    Clicking a spell name in a PF2e creature's stat block now opens a
    popover (desktop) or bottom sheet (mobile) showing full spell details:
    description, traits, rank, range, target, area, duration, defense,
    action cost icons, and heightening rules. All data is sourced from
    the embedded Foundry VTT spell items already in the bestiary cache.

    • Add SpellReference type replacing bare string spell arrays
    • Extract full spell data in pf2e-bestiary-adapter (description,
      traits, traditions, range, target, area, duration, defense,
      action cost, heightening, overlays)
    • Strip inline heightening text from descriptions to avoid duplication
    • Bold save outcome labels (Critical Success/Failure) in descriptions
    • Bump DB_VERSION to 6 for cache invalidation
    • Add useSwipeToDismissDown hook for mobile bottom sheet
    • Portal popover to document.body to escape transformed ancestors

    Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

    Downloads