[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

@ -523,36 +523,14 @@
"name": "Rampage",
"type": "feature",
"system": {
"description": "<p>Countdown (Loop 1d6). When the Hunter is in the spotlight for the fi rst time, activate the countdown. When it triggers, move the Hunter in a straight line to a point within Far range and make an attack against all targets in their path. Targets the Hunter succeeds against take <strong>2d8+2</strong> physical damage.</p><p>@Template[type:ray|range:f]</p>",
"description": "<p><em>Countdown (Loop 1d6)</em>. When the Hunter is in the spotlight for the first time, activate the countdown. When it triggers, move the Hunter in a straight line to a point within Far range and make an attack against all targets in their path. Targets the Hunter succeeds against take <strong>2d8+2</strong> physical damage.</p><p>@Template[type:ray|range:f]</p>",
"resource": null,
"actions": {
"JGGTfZWI65nywjSu": {
"type": "effect",
"_id": "JGGTfZWI65nywjSu",
"systemPath": "actions",
"description": "<p>Countdown (Loop 1d6). When the Hunter 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/movement/trail-streak-zigzag-yellow.webp",
"range": ""
},
"VjiFxuzfAaq5N1jy": {
"type": "attack",
"_id": "VjiFxuzfAaq5N1jy",
"systemPath": "actions",
"description": "<p>When the countdown triggers, move the Hunter in a straight line to a point within Far range and make an attack against all targets in their path. Targets the Hunter succeeds against take <strong>2d8+2</strong> physical damage.</p><p>@Template[type:ray|range:f]</p>",
"description": "<p>Move the Hunter in a straight line to a point within Far range and make an attack against all targets in their path. Targets the Hunter succeeds against take <strong>2d8+2</strong> physical damage.</p><p>@Template[type:ray|range:f]</p>",
"chatDisplay": true,
"actionType": "action",
"cost": [],
@ -620,6 +598,42 @@
"name": "Attack",
"img": "icons/magic/movement/trail-streak-zigzag-yellow.webp",
"range": "far"
},
"BhA3vxCuMs4UbbQU": {
"type": "countdown",
"_id": "BhA3vxCuMs4UbbQU",
"systemPath": "actions",
"description": "<p><em>Countdown (Loop 1d6)</em>. When the Hunter is in the spotlight for the first time, activate the countdown.</p>",
"chatDisplay": true,
"originItem": {
"type": "itemCollection"
},
"actionType": "action",
"cost": [],
"uses": {
"value": null,
"max": "",
"recovery": null,
"consumeOnSuccess": false
},
"countdown": [
{
"name": "Rampage",
"type": "encounter",
"defaultOwnership": -1,
"img": "icons/magic/movement/trail-streak-zigzag-yellow.webp",
"progress": {
"looping": "looping",
"type": "actionRoll",
"max": "1d6",
"current": 1
},
"ownership": {}
}
],
"name": "Start Countdown",
"img": "icons/magic/movement/trail-streak-zigzag-yellow.webp",
"range": ""
}
},
"originItemType": null,
@ -639,12 +653,12 @@
"compendiumSource": null,
"duplicateSource": null,
"exportSource": null,
"coreVersion": "13.346",
"coreVersion": "13.351",
"systemId": "daggerheart",
"systemVersion": "0.0.1",
"systemVersion": "1.2.4",
"createdTime": 1754082669471,
"modifiedTime": 1754142979339,
"lastModifiedBy": "MQSznptE5yLT7kj8"
"modifiedTime": 1763599508803,
"lastModifiedBy": "Q4RzhhaPfvLUzzbw"
},
"_key": "!actors.items!mVV7a7KQAORoPMgZ.IOCG3J20wUHvyvvh"
}