[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

@ -345,9 +345,72 @@
"name": "The Summoning",
"type": "feature",
"system": {
"description": "<p>Countdown (6). When the PCs enter the scene or the cult begins the ritual to summon a demon, activate the countdown. Designate one adversary to lead the ritual. The countdown ticks down when a PC rolls with Fear. When it triggers, summon a Minor Demon within Very Close range of the rituals leader. If the leader is defeated, the countdown ends with no effect as the ritual fails.</p><section class=\"secret\" id=\"secret-OXdRqIZ0R8wGn3Gm\"><p><em>What will the cult do with this leashed demon if they succeed? What will they try to summon next?</em></p></section>",
"description": "<p><em>Countdown (6)</em>. When the PCs enter the scene or the cult begins the ritual to summon a demon, activate the countdown. Designate one adversary to lead the ritual. The countdown ticks down when a PC rolls with Fear. When it triggers, summon a @UUID[Compendium.daggerheart.adversaries.Actor.3tqCjDwJAQ7JKqMb]{Minor Demon} within Very Close range of the rituals leader. If the leader is defeated, the countdown ends with no effect as the ritual fails.</p><section class=\"secret\" id=\"secret-OXdRqIZ0R8wGn3Gm\"><p><em>What will the cult do with this leashed demon if they succeed? What will they try to summon next?</em></p></section>",
"resource": null,
"actions": {},
"actions": {
"bUIfzuWd1VfiV8sc": {
"type": "countdown",
"_id": "bUIfzuWd1VfiV8sc",
"systemPath": "actions",
"description": "<p><em>Countdown (6)</em>. When the PCs enter the scene or the cult begins the ritual to summon a demon, activate the countdown. Designate one adversary to lead the ritual. The countdown ticks down when a PC rolls with Fear.</p>",
"chatDisplay": true,
"originItem": {
"type": "itemCollection"
},
"actionType": "reaction",
"cost": [],
"uses": {
"value": null,
"max": "",
"recovery": null,
"consumeOnSuccess": false
},
"countdown": [
{
"name": "The Summoning",
"type": "encounter",
"defaultOwnership": -1,
"img": "icons/magic/unholy/barrier-fire-pink.webp",
"progress": {
"looping": "noLooping",
"type": "fear",
"max": "6",
"current": 1
},
"ownership": {}
}
],
"name": "Start Countdown",
"img": "icons/magic/unholy/barrier-fire-pink.webp",
"range": ""
},
"suFEnfpOfeVRvnJF": {
"type": "effect",
"_id": "suFEnfpOfeVRvnJF",
"systemPath": "actions",
"description": "<p>Summon a @UUID[Compendium.daggerheart.adversaries.Actor.3tqCjDwJAQ7JKqMb]{Minor Demon} within Very Close range of the rituals leader.</p>",
"chatDisplay": true,
"originItem": {
"type": "itemCollection"
},
"actionType": "action",
"cost": [],
"uses": {
"value": null,
"max": "",
"recovery": null,
"consumeOnSuccess": false
},
"effects": [],
"target": {
"type": "any",
"amount": null
},
"name": "Summon Demon",
"img": "icons/magic/unholy/barrier-fire-pink.webp",
"range": ""
}
},
"originItemType": null,
"originId": null
},
@ -365,12 +428,12 @@
"compendiumSource": null,
"duplicateSource": null,
"exportSource": null,
"coreVersion": "13.346",
"coreVersion": "13.351",
"systemId": "daggerheart",
"systemVersion": "0.0.1",
"systemVersion": "1.2.4",
"createdTime": 1754215458731,
"modifiedTime": 1754215511070,
"lastModifiedBy": "MQSznptE5yLT7kj8"
"modifiedTime": 1763600981803,
"lastModifiedBy": "Q4RzhhaPfvLUzzbw"
},
"_key": "!actors.items!QAXXiOKBDmCTauHD.oFfu3hUhp4ta4qwT"
},