Skip to content

Commit

Permalink
fix: Add third characteristic (#20)
Browse files Browse the repository at this point in the history
* fix: error when selecting multiple actors

* fix: add additional alt characteristic

* Update module.json

add new version
  • Loading branch information
marvin9257 authored Jan 22, 2024
1 parent 6d080db commit 6e5058e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
10 changes: 5 additions & 5 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],
"url": "https://github.com/marvin9257/fvtt-token-action-hud-twodsix",
"flags": {},
"version": "1.3.0",
"version": "1.3.1",
"compatibility": {
"minimum": "11",
"verified": "11.315"
Expand Down Expand Up @@ -59,8 +59,8 @@
"type": "system",
"compatibility": [
{
"minimum": "4.8.0",
"verified": "4.8.0"
"minimum": "4.20.0",
"verified": "4.20.0"
}
]
}
Expand All @@ -84,8 +84,8 @@
}
},
"socket": false,
"manifest": "https://raw.githubusercontent.com/marvin9257/fvtt-token-action-hud-twodsix/v1.3.0/module.json",
"download": "https://github.com/marvin9257/fvtt-token-action-hud-twodsix/releases/download/v1.3.0/module.zip",
"manifest": "https://raw.githubusercontent.com/marvin9257/fvtt-token-action-hud-twodsix/v1.3.1/module.json",
"download": "https://github.com/marvin9257/fvtt-token-action-hud-twodsix/releases/download/v1.3.1/module.zip",
"readme": "https://github.com/marvin9257/fvtt-token-action-hud-twodsix#readme",
"protected": false,
"coreTranslation": false,
Expand Down
2 changes: 2 additions & 0 deletions scripts/action-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ function shouldDisplayChar (char) {
return !['base', 'core'].includes(charsShown)
case 'alternative2':
return !['base', 'core'].includes(charsShown)
case 'alternative3':
return ['all'].includes(charsShown)
case 'lifeblood':
return false
case 'stamina':
Expand Down
3 changes: 2 additions & 1 deletion scripts/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,6 @@ export const CHARACTERISTICS = {
stamina: 'STA',
lifeblood: 'LFB',
alternative1: 'ALT1',
alternative2: 'ALT2'
alternative2: 'ALT2',
alternative3: 'ALT3'
}

0 comments on commit 6e5058e

Please sign in to comment.