[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

@ -493,31 +493,9 @@
"name": "Shackles of Guilt",
"type": "feature",
"system": {
"description": "<p>Countdown (Loop 2d6). When the Sorcerer is in the spotlight for the first time, activate the countdown. When it triggers, all targets within Far range become Vulnerable and must mark a Stress as they relive their greatest regrets. A target can break free from their regret with a successful Presence or Strength Roll. When a PC fails to break free, they lose a Hope.</p><p>@Template[type:emanation|range:f]</p>",
"description": "<p><em>Countdown (Loop 2d6)</em>. When the Sorcerer is in the spotlight for the first time, activate the countdown. When it triggers, all targets within Far range become Vulnerable and must mark a Stress as they relive their greatest regrets. A target can break free from their regret with a successful Presence or Strength Roll. When a PC fails to break free, they lose a Hope.</p><p>@Template[type:emanation|range:f]</p>",
"resource": null,
"actions": {
"11mqihmiBK41aoDm": {
"type": "effect",
"_id": "11mqihmiBK41aoDm",
"systemPath": "actions",
"description": "<p>Countdown (Loop 2d6). When the Sorcerer is in the spotlight for the first time, activate the countdown.</p>",
"chatDisplay": true,
"actionType": "action",
"cost": [],
"uses": {
"value": null,
"max": "",
"recovery": null
},
"effects": [],
"target": {
"type": "any",
"amount": null
},
"name": "Countdown",
"img": "icons/magic/unholy/strike-hand-glow-pink.webp",
"range": ""
},
"7b0FkpAnWz9a5EWx": {
"type": "damage",
"_id": "7b0FkpAnWz9a5EWx",
@ -574,6 +552,42 @@
"name": "Mark Stress",
"img": "icons/magic/unholy/strike-hand-glow-pink.webp",
"range": ""
},
"11PtfoxbgOXxNlkG": {
"type": "countdown",
"_id": "11PtfoxbgOXxNlkG",
"systemPath": "actions",
"description": "<p><em>Countdown (Loop 2d6)</em>. When the Sorcerer is in the spotlight for the first time, activate the countdown.</p>",
"chatDisplay": true,
"originItem": {
"type": "itemCollection"
},
"actionType": "reaction",
"cost": [],
"uses": {
"value": null,
"max": "",
"recovery": null,
"consumeOnSuccess": false
},
"countdown": [
{
"name": "Shackles of Guilt",
"type": "encounter",
"defaultOwnership": -1,
"img": "icons/magic/unholy/strike-hand-glow-pink.webp",
"progress": {
"looping": "looping",
"type": "actionRoll",
"max": "2d6",
"current": 1
},
"ownership": {}
}
],
"name": "Start Countdown",
"img": "icons/magic/unholy/strike-hand-glow-pink.webp",
"range": ""
}
},
"originItemType": null,
@ -640,12 +654,12 @@
"compendiumSource": null,
"duplicateSource": null,
"exportSource": null,
"coreVersion": "13.346",
"coreVersion": "13.351",
"systemId": "daggerheart",
"systemVersion": "0.0.1",
"systemVersion": "1.2.4",
"createdTime": 1754133847132,
"modifiedTime": 1754135342391,
"lastModifiedBy": "MQSznptE5yLT7kj8"
"modifiedTime": 1763599235251,
"lastModifiedBy": "Q4RzhhaPfvLUzzbw"
},
"_key": "!actors.items!PELRry1vqjBzSAlr.gwSgBhkcekCGvXxz"
}