[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

@ -10,9 +10,9 @@
"level": 9,
"type": "ability",
"actions": {
"B4vyaTibK0GiRBCW": {
"type": "effect",
"_id": "B4vyaTibK0GiRBCW",
"yjEcSlzsWGX79gpB": {
"type": "attack",
"_id": "yjEcSlzsWGX79gpB",
"systemPath": "actions",
"description": "<p class=\"Body-Foundation\"><strong>Spend a Hope</strong> and make an attack against all adversaries within your weapons range. Once per long rest, on a success against any targets, add up the damage dealt, then redistribute that damage however you wish between the targets you succeeded against. When you deal damage to a target, roll an additional damage die and add its result to the damage you deal to that target.</p>",
"chatDisplay": true,
@ -29,15 +29,39 @@
],
"uses": {
"value": null,
"max": "",
"recovery": null,
"consumeOnSuccess": false
"max": "1",
"recovery": "longRest",
"consumeOnSuccess": true
},
"damage": {
"parts": [],
"includeBase": false
},
"effects": [],
"target": {
"type": "any",
"amount": null
},
"effects": [],
"roll": {
"type": "attack",
"trait": null,
"difficulty": null,
"bonus": null,
"advState": "neutral",
"diceRolling": {
"multiplier": "prof",
"flatMultiplier": 1,
"dice": "d6",
"compare": null,
"treshold": null
},
"useDefault": false
},
"save": {
"trait": null,
"difficulty": null,
"damageMod": "none"
},
"name": "Spend Hope",
"img": "icons/skills/melee/strike-sword-steel-yellow.webp",
"range": ""
@ -53,7 +77,7 @@
"systemId": "daggerheart",
"systemVersion": "0.0.1",
"createdTime": 1753922784522,
"modifiedTime": 1754252510860,
"modifiedTime": 1754501075258,
"lastModifiedBy": "MQSznptE5yLT7kj8"
},
"_id": "TYKfM3H9vBXyWiH4",