[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

@ -332,9 +332,46 @@
"_id": "YeJ7eJVCKsRxG8mk",
"img": "icons/skills/ranged/target-bullseye-arrow-blue.webp",
"system": {
"description": "<p>Countdown (5). When the Head Guard is in the spotlight for the first time, activate the countdown. It ticks down when a PC makes an attack roll. When it triggers, all Archer Guards within Far range make a standard attack with advantage against the nearest target within their range. If any attacks succeed on the same target, combine their damage.</p><p>@Template[type:emanation|range:f]</p>",
"description": "<p><em>Countdown (5)</em>. When the Head Guard is in the spotlight for the first time, activate the countdown. It ticks down when a PC makes an attack roll. When it triggers, all Archer Guards within Far range make a standard attack with advantage against the nearest target within their range. If any attacks succeed on the same target, combine their damage.</p><p>@Template[type:emanation|range:f]</p>",
"resource": null,
"actions": {},
"actions": {
"xyhaCmPGiVMsTViH": {
"type": "countdown",
"_id": "xyhaCmPGiVMsTViH",
"systemPath": "actions",
"description": "<p><em>Countdown (5)</em>. When the Head Guard is in the spotlight for the first time, activate the countdown. It ticks down when a PC makes an attack roll. When it triggers, all Archer Guards within Far range make a standard attack with advantage against the nearest target within their range. If any attacks succeed on the same target, combine their damage.</p>",
"chatDisplay": true,
"originItem": {
"type": "itemCollection"
},
"actionType": "reaction",
"cost": [],
"uses": {
"value": null,
"max": "",
"recovery": null,
"consumeOnSuccess": false
},
"countdown": [
{
"name": "On My Signal",
"type": "encounter",
"defaultOwnership": -1,
"img": "icons/skills/ranged/target-bullseye-arrow-blue.webp",
"progress": {
"looping": "noLooping",
"type": "characterAttack",
"max": "5",
"current": 1
},
"ownership": {}
}
],
"name": "Start Countdown",
"img": "icons/skills/ranged/target-bullseye-arrow-blue.webp",
"range": ""
}
},
"originItemType": null,
"subType": null,
"originId": null
@ -351,12 +388,12 @@
"compendiumSource": null,
"duplicateSource": null,
"exportSource": null,
"coreVersion": "13.350",
"coreVersion": "13.351",
"systemId": "daggerheart",
"systemVersion": "1.1.2",
"systemVersion": "1.2.3",
"createdTime": 1754048119625,
"modifiedTime": 1760209562267,
"lastModifiedBy": "fBcTgyTzoARBvohY"
"modifiedTime": 1763487870613,
"lastModifiedBy": "Q4RzhhaPfvLUzzbw"
},
"_key": "!actors.items!mK3A5FTx6k8iPU3F.YeJ7eJVCKsRxG8mk"
},