From b8c8147c511388856dade2e59d4c6bdd0c68079b Mon Sep 17 00:00:00 2001 From: Hamish Date: Wed, 4 Nov 2020 19:56:46 +0100 Subject: [PATCH] check for passive feats --- changelog.md | 4 ++++ scripts/actions/pf1/pf1-actions.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 07b95cea..1aece24f 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,9 @@ # Changelog +## [0.8.13] 2020-11-04 +### Bugfix +- PF1 - Check for 'passive' feats + ## [0.8.12] 2020-11-04 ### Bugfix - DND5e - Consume tip on action would show nothing if value was 0 diff --git a/scripts/actions/pf1/pf1-actions.js b/scripts/actions/pf1/pf1-actions.js index 9a69922c..0c9fef7c 100644 --- a/scripts/actions/pf1/pf1-actions.js +++ b/scripts/actions/pf1/pf1-actions.js @@ -358,7 +358,7 @@ export class ActionHandlerPf1 extends ActionHandler { let feat = this._buildItem(tokenId, actor, macroType, f); - if (!activationType || activationType === '') { + if (!activationType || activationType === '' || activationType === 'passive') { passive.actions.push(feat); return; }