diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 803c167..f304acc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -33,7 +33,10 @@ jobs: url: https://github.com/${{github.repository}} manifest: https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/module.json download: https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/module.zip + changelog: https://github.com/${{github.repository}}/blob/${{github.event.release.tag_name}}/ChangeLog.md bugs: https://github.com/${{github.repository}}/issues + readme: https://github.com/${{github.repository}}/blob/${{github.event.release.tag_name}}/README.md + license: https://github.com/${{github.repository}}/blob/${{github.event.release.tag_name}}/LICENSE # Create a zip file with all files required by the module to add to the release - run: zip -r ./module.zip module.json README.md LICENSE ChangeLog.md languages/ esmodules/ styles/ diff --git a/ChangeLog.md b/ChangeLog.md index f83423f..4eb3313 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,3 +1,8 @@ +# v1.14.0 +* expire the raised-shield effect at the beginning of their first turn. (Thanks farling42) +* 6.6 verified +* Put version-specific url on all relevant fields in module.json + # v1.13.2 * Update rage hint in pl.json (thanks Lioheart) * Update github scripts to automate releases to foundry diff --git a/esmodules/combat.js b/esmodules/combat.js index 1b778c6..279020c 100644 --- a/esmodules/combat.js +++ b/esmodules/combat.js @@ -178,7 +178,8 @@ async function raiseDefendingShields(pcs) { object.control(); log(`raising ${defender.actor.name}'s shield`); await game.pf2e.actions.raiseAShield({ actors: [defender.actor] }); - } + const fx = defender.actor.itemTypes.effect.find((item) => item.system.slug === "effect-raise-a-shield"); + if (fx) await fx.update({ "system.duration.value": 0 }) } } async function enrageBarbarians(pcs) { diff --git a/module.json b/module.json index 30620ad..8109f47 100644 --- a/module.json +++ b/module.json @@ -21,7 +21,7 @@ "id": "pf2e", "type": "system", "compatibility": { - "verified": "6.5" + "verified": "6.6" } } ] @@ -51,8 +51,8 @@ "url": "https://github.com/Eligarf/avoid-notice", "manifest": "replaced", "download": "replaced", - "changelog": "ChangeLog.md", + "changelog": "replaced", "bugs": "https://github.com/Eligarf/avoid-notice/issues", - "readme": "README.md", - "license": "LICENSE" + "readme": "replaced", + "license": "replaced" }