From 774681e4aa6064bc7e6e1448013a04d788ebb0ab Mon Sep 17 00:00:00 2001 From: coffiarts Date: Sun, 6 Oct 2024 20:36:22 +0200 Subject: [PATCH] Hotfix for dsa5/tde5 version 6.x --- .github/workflows/main.yaml | 2 +- CHANGELOG.md | 6 +++--- src/lock-the-sheets/module.json | 4 ++-- src/lock-the-sheets/scripts/main.js | 3 +++ 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 687d4e3..18afded 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -33,7 +33,7 @@ jobs: with: allowUpdates: true name: Release ${{ steps.get-version.outputs.version }} - draft: true + draft: false prerelease: false token: ${{secrets.GITHUB_TOKEN}} artifacts: './module.zip, ./src/lock-the-sheets/module.json, ./README.md, ./CHANGELOG.md' diff --git a/CHANGELOG.md b/CHANGELOG.md index dc2da93..efb7213 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,9 @@ The **major** version number in my modules (like "12") always reflects the Foundry VTT **core** version it is compatible with (and recommended for). -## 12.?.? -### 2024-??-?? - ? -- ? +## 12.0.1 +### 2024-10-06 - Hotfix for dsa5/tde5 version 6.x +- Game system dsa5/tde5 (Das Schwarze Auge/The Black Eye) seems to have changed its handling of active effects in latest version 6.x. That was causing a breaking bug in this mod, blocking certain rolls for actors in scene. This is the fix for it. ## 12.0.0 ### 2024-06-06 - v12 compatibility diff --git a/src/lock-the-sheets/module.json b/src/lock-the-sheets/module.json index b31bfdf..4dec8f5 100644 --- a/src/lock-the-sheets/module.json +++ b/src/lock-the-sheets/module.json @@ -3,7 +3,7 @@ "name": "lock-the-sheets", "title": "Lock The Sheets!", "description": "Oh Game Master, thou shalt be the gatekeeper! Lock and unlock all your players' character sheets at once with just one click. May you never ever again watch them accidentally delete that beloved item from their inventory (\"Uuuugh... NOOOOO!\")... or let those nasty cheaters among them mess around secretly with their hitpoints (\"AAAAArrrrgh!\").", - "version": "12.?.?", + "version": "12.0.1", "url": "https://github.com/coffiarts/FoundryVTT-lock-the-sheets", "manifest": "https://github.com/coffiarts/FoundryVTT-lock-the-sheets/releases/download/latest/module.json", "download": "https://github.com/coffiarts/FoundryVTT-lock-the-sheets/releases/download/latest/module.zip", @@ -36,7 +36,7 @@ "type": "module", "manifest": "https://raw.githubusercontent.com/manuelVo/foundryvtt-socketlib/master/module.json", "compatibility": { - "verified": "1.0.13" + "verified": "1.1.0" } } ] diff --git a/src/lock-the-sheets/scripts/main.js b/src/lock-the-sheets/scripts/main.js index 142b446..151db8e 100644 --- a/src/lock-the-sheets/scripts/main.js +++ b/src/lock-the-sheets/scripts/main.js @@ -307,6 +307,9 @@ async function renderTokenOverlays() { flags: { core: { overlay: true + }, + dsa5: { // a dummy flag required by game system dsa5/tde5 as of version 6.x for handling status effects correctly + value: null } }, duration: {