[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"
}

View file

@ -5,15 +5,7 @@
"img": "icons/tools/instruments/drum-hand-tan.webp",
"system": {
"description": "<p>Once per session, describe how you rally the party and give yourself and each of your allies a Rally Die. At level 1, your Rally Die is a d6. A PC can spend their Rally Die to roll it, adding the result to their action roll, reaction roll, damage roll, or to clear a number of Stress equal to the result. At the end of each session, clear all unspent Rally Dice. At level 5, your Rally Die increases to a d8.</p>",
"resource": {
"type": "simple",
"value": 1,
"max": "1",
"icon": "",
"recovery": "session",
"diceStates": {},
"dieFaces": "d4"
},
"resource": null,
"actions": {
"vI4Fph3y9ygsya9e": {
"type": "effect",
@ -25,15 +17,16 @@
"cost": [
{
"scalable": false,
"key": "Y7waM3ljoRLyk38N",
"key": "hitPoints",
"value": 1,
"keyIsID": true,
"step": null
"keyIsID": false,
"step": null,
"consumeOnSuccess": false
}
],
"uses": {
"value": null,
"max": "",
"max": "1",
"recovery": "session"
},
"effects": [
@ -114,8 +107,8 @@
"systemId": "daggerheart",
"systemVersion": "0.0.1",
"createdTime": 1754174497668,
"modifiedTime": 1754246215191,
"lastModifiedBy": "LgnbNMLaxandgMQq"
"modifiedTime": 1754494820213,
"lastModifiedBy": "MQSznptE5yLT7kj8"
},
"ownership": {
"default": 0,

View file

@ -5,15 +5,7 @@
"img": "icons/tools/instruments/drum-hand-tan.webp",
"system": {
"description": "<p>Once per session, describe how you rally the party and give yourself and each of your allies a Rally Die. At level 1, your Rally Die is a d6. A PC can spend their Rally Die to roll it, adding the result to their action roll, reaction roll, damage roll, or to clear a number of Stress equal to the result. At the end of each session, clear all unspent Rally Dice. At level 5, your Rally Die increases to a d8.</p>",
"resource": {
"type": "simple",
"value": 1,
"max": "1",
"icon": "",
"recovery": "session",
"diceStates": {},
"dieFaces": "d4"
},
"resource": null,
"actions": {
"Z1KWFrpXOqZWuZD1": {
"type": "effect",
@ -25,15 +17,16 @@
"cost": [
{
"scalable": false,
"key": "oxv0m8AFUQVFKtZ4",
"key": "hitPoints",
"value": 1,
"keyIsID": true,
"step": null
"keyIsID": false,
"step": null,
"consumeOnSuccess": false
}
],
"uses": {
"value": null,
"max": "",
"max": "1",
"recovery": "session"
},
"effects": [
@ -114,8 +107,8 @@
"systemId": "daggerheart",
"systemVersion": "0.0.1",
"createdTime": 1754174499893,
"modifiedTime": 1754246215922,
"lastModifiedBy": "LgnbNMLaxandgMQq"
"modifiedTime": 1754494835723,
"lastModifiedBy": "MQSznptE5yLT7kj8"
},
"ownership": {
"default": 0,

View file

@ -7,10 +7,11 @@
"system": {
"description": "<p>Choose a number between 1 and 12. When you roll that number on a Duality Die, gain a Hope or clear a Stress.</p><p></p><p>You can change this number when you take a long rest.</p>",
"resource": {
"type": "simple",
"type": "diceValue",
"value": 1,
"max": "",
"icon": "fa-solid fa-hashtag"
"max": "1",
"icon": "fa-solid fa-hashtag",
"dieFaces": "d12"
},
"actions": {
"RkqPzF1bdWzPPMml": {
@ -100,7 +101,7 @@
"systemId": "daggerheart",
"systemVersion": "0.0.1",
"createdTime": 1754254942995,
"modifiedTime": 1754255067467,
"modifiedTime": 1754498121727,
"lastModifiedBy": "MQSznptE5yLT7kj8"
},
"_key": "!items!6YsfFjmCGuFYVhT4"