[feature] Action UsesButton (#662)

* Added a button to spend/restore uses of an action

* Fixed some compendium Uses on actions

* Went over all item compendia and fixed some Uses on actions

* Fixed folder order in Subclass compendium
This commit is contained in:
WBHarry 2025-08-07 01:10:56 +02:00 committed by GitHub
parent ead2f6b8f3
commit a1a3ccc461
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
70 changed files with 471 additions and 358 deletions

View file

@ -9,8 +9,9 @@
"resource": {
"type": "simple",
"value": 1,
"progression": "decreasing",
"max": "1",
"icon": "",
"icon": "fa-solid fa-hands-praying",
"recovery": "longRest"
},
"actions": {
@ -69,7 +70,7 @@
},
"target": {
"type": "any",
"amount": null
"amount": 1
},
"effects": [],
"roll": {
@ -98,7 +99,16 @@
"description": "<p><span style=\"color: rgb(239, 230, 216); font-family: Montserrat, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgba(24, 22, 46, 0.376); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none\">Once per long rest, touch a creature and clear 2 Hit Points or 2 Stress from them.</span></p>",
"chatDisplay": true,
"actionType": "action",
"cost": [],
"cost": [
{
"scalable": false,
"key": "GfOSgVJW8bS1OjNq",
"value": 1,
"keyIsID": true,
"step": null,
"consumeOnSuccess": false
}
],
"uses": {
"value": null,
"max": "",
@ -137,7 +147,7 @@
},
"target": {
"type": "any",
"amount": null
"amount": 1
},
"effects": [],
"roll": {