[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

@ -6,15 +6,7 @@
"img": "icons/magic/unholy/strike-body-explode-disintegrate.webp",
"system": {
"description": "<p>Once per long rest, you can place a domain card from your loadout into your vault and choose to either:</p><ul><li><p>Gain Hope equal to the level of the card.</p></li><li><p>Enhance a spell that deals damage, gaining a bonus to your damage roll equal to twice the level of the card.</p></li></ul>",
"resource": {
"type": "simple",
"value": 1,
"max": "1",
"icon": "",
"recovery": "longRest",
"diceStates": {},
"dieFaces": "d4"
},
"resource": null,
"actions": {
"YFmqnbMx540su2Ni": {
"type": "effect",
@ -26,17 +18,17 @@
"cost": [
{
"scalable": false,
"key": "P02cbN50LIoD662z",
"key": "hitPoints",
"value": 1,
"keyIsID": true,
"keyIsID": false,
"step": null,
"consumeOnSuccess": false
}
],
"uses": {
"value": null,
"max": "",
"recovery": null,
"max": "1",
"recovery": "longRest",
"consumeOnSuccess": false
},
"effects": [],
@ -67,8 +59,8 @@
"systemId": "daggerheart",
"systemVersion": "0.0.1",
"createdTime": 1754349703843,
"modifiedTime": 1754349703843,
"lastModifiedBy": "Q9NoTaEarn3VMS6Z"
"modifiedTime": 1754498040342,
"lastModifiedBy": "MQSznptE5yLT7kj8"
},
"_key": "!items!P02cbN50LIoD662z"
}