mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-17 15:39:02 +01:00
[Fix] 850 - Downtime Refreshes (#859)
* Fixed the filtering of refreshable features * Raised version
This commit is contained in:
parent
68c9cd52ea
commit
7755179434
2 changed files with 4 additions and 3 deletions
|
|
@ -95,8 +95,9 @@ export default class DhpDowntime extends HandlebarsApplicationMixin(ApplicationV
|
||||||
if (x.system.actions) {
|
if (x.system.actions) {
|
||||||
const recoverable = x.system.actions.reduce((acc, action) => {
|
const recoverable = x.system.actions.reduce((acc, action) => {
|
||||||
if (
|
if (
|
||||||
(action.uses.recovery && (action.uses.recovery === 'longRest') === !this.shortrest) ||
|
action.uses.recovery &&
|
||||||
action.uses.recovery === 'shortRest'
|
((action.uses.recovery === 'longRest' && !this.shortrest) ||
|
||||||
|
action.uses.recovery === 'shortRest')
|
||||||
) {
|
) {
|
||||||
acc.push({
|
acc.push({
|
||||||
title: x.name,
|
title: x.name,
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"id": "daggerheart",
|
"id": "daggerheart",
|
||||||
"title": "Daggerheart",
|
"title": "Daggerheart",
|
||||||
"description": "An unofficial implementation of the Daggerheart system",
|
"description": "An unofficial implementation of the Daggerheart system",
|
||||||
"version": "1.0.0",
|
"version": "1.0.2",
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"minimum": "13",
|
"minimum": "13",
|
||||||
"verified": "13.347",
|
"verified": "13.347",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue