[Feature] Countdown Actions (#1302)

* Added countdown actions

* Added a CountdownAutomation setting to enable/disable countdown automation

* Added Looping

* Added characterSpotlight automation

* Countdown max as formula to enable random countdowns

* Updated compendiums with countdowns

* .

* Fixed lightmode colouration

* Raised system version

* Added automation for ActionRolls on countdowns

* Added automation on fear to countdowns

* Corrected attackAction countdown automation

* Added initial countdown upon creating a CountdownAction

* Improved ActionCountdown initial name to be 'Start Countdown'
This commit is contained in:
WBHarry 2025-11-20 11:46:00 +01:00 committed by GitHub
parent 0233979a9f
commit 207220ff7b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
54 changed files with 1742 additions and 635 deletions

View file

@ -36,6 +36,42 @@
"name": "Cast",
"img": "icons/skills/social/diplomacy-unity-alliance.webp",
"range": "close"
},
"ZM96wFu3YuAeUXel": {
"type": "countdown",
"_id": "ZM96wFu3YuAeUXel",
"systemPath": "actions",
"description": "<p>Activate a <em>Countdown (8)</em>. It ticks down as a consequence the GM chooses. When it triggers, the disguise drops.</p>",
"chatDisplay": false,
"originItem": {
"type": "itemCollection"
},
"actionType": "action",
"cost": [],
"uses": {
"value": null,
"max": "",
"recovery": null,
"consumeOnSuccess": false
},
"countdown": [
{
"name": "Mass Disguise",
"type": "encounter",
"defaultOwnership": -1,
"img": "icons/magic/time/hourglass-brown-orange.webp",
"progress": {
"looping": "noLooping",
"type": "custom",
"max": "8",
"current": 1
},
"ownership": {}
}
],
"name": "Start Countdown",
"img": "icons/magic/time/hourglass-brown-orange.webp",
"range": ""
}
},
"attribution": {
@ -49,12 +85,12 @@
"compendiumSource": null,
"duplicateSource": null,
"exportSource": null,
"coreVersion": "13.347",
"coreVersion": "13.351",
"systemId": "daggerheart",
"systemVersion": "1.0.5",
"systemVersion": "1.2.4",
"createdTime": 1753922784480,
"modifiedTime": 1755429370519,
"lastModifiedBy": "VZIeX2YDvX338Zvr"
"modifiedTime": 1763599737574,
"lastModifiedBy": "Q4RzhhaPfvLUzzbw"
},
"_id": "dT95m0Jam8sWbeuC",
"sort": 3400000,