[Feature] Become Unstoppable (#1321)

* Added implementation of unstoppable

* Forgot to add the updated Unstoppable Feature itself

* Added immunity for hidden and SRD additions for immunity
This commit is contained in:
WBHarry 2025-11-23 15:23:52 +01:00 committed by GitHub
parent e6a242ba43
commit b9508e19e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
45 changed files with 502 additions and 122 deletions

View file

@ -5,9 +5,46 @@
"_id": "PnD2UCgzIlwX6cY3",
"img": "icons/magic/defensive/shield-barrier-glowing-blue.webp",
"system": {
"description": "<p><strong>(Note: This needs to be manually implemented. Unstoppable die feature is not implemented as of this time)</strong><br /><br />Once per long rest, you can become Unstoppable. You gain an Unstoppable Die. At level 1, your Unstoppable Die is a d4. Place it on your character sheet in the space provided, starting with the 1 value facing up. After you make a damage roll that deals 1 or more Hit Points to a target, increase the Unstoppable Die value by one. When the dies value would exceed its maximum value or when the scene ends, remove the die and drop out of Unstoppable. At level 5, your Unstoppable Die increases to a d6. While Unstoppable, you gain the following benefits:</p><ul><li><p>You reduce the severity of physical damage by one threshold (Severe to Major, Major to Minor, Minor to None).</p></li><li><p>You add the current value of the Unstoppable Die to your damage roll.</p></li><li><p>You cant be Restrained or Vulnerable.</p></li></ul><blockquote><p>Tip: If your Unstoppable Die is a d4 and the 4 is currently facing up, you remove the die the next time you would increase it. However, if your Unstoppable Die has increased to a d6 and the 4 is currently facing up, youll turn it to 5 the next time you would increase it. In this case, youll remove the die after you would need to increase it higher than 6.</p></blockquote>",
"resource": null,
"actions": {},
"description": "<p>Once per long rest, you can become Unstoppable. You gain an Unstoppable Die. At level 1, your Unstoppable Die is a d4. Place it on your character sheet in the space provided, starting with the 1 value facing up. After you make a damage roll that deals 1 or more Hit Points to a target, increase the Unstoppable Die value by one. When the dies value would exceed its maximum value or when the scene ends, remove the die and drop out of Unstoppable. At level 5, your Unstoppable Die increases to a d6. While Unstoppable, you gain the following benefits:</p><ul><li><p>You reduce the severity of physical damage by one threshold (Severe to Major, Major to Minor, Minor to None).</p></li><li><p>You add the current value of the Unstoppable Die to your damage roll.</p></li><li><p>You cant be Restrained or Vulnerable.</p></li></ul><blockquote><p>Tip: If your Unstoppable Die is a d4 and the 4 is currently facing up, you remove the die the next time you would increase it. However, if your Unstoppable Die has increased to a d6 and the 4 is currently facing up, youll turn it to 5 the next time you would increase it. In this case, youll remove the die after you would need to increase it higher than 6.</p></blockquote>",
"resource": {
"type": "die",
"value": 0,
"max": "",
"icon": ""
},
"actions": {
"KZiZ8m8uqH5iG96d": {
"type": "effect",
"_id": "KZiZ8m8uqH5iG96d",
"systemPath": "actions",
"description": "<p>Once per long rest, you can become Unstoppable. You gain an Unstoppable Die. At level 1, your Unstoppable Die is a d4. Place it on your character sheet in the space provided, starting with the 1 value facing up. After you make a damage roll that deals 1 or more Hit Points to a target, increase the Unstoppable Die value by one. When the dies value would exceed its maximum value or when the scene ends, remove the die and drop out of Unstoppable. At level 5, your Unstoppable Die increases to a d6. While Unstoppable, you gain the following benefits:</p><ul><li><p>You reduce the severity of physical damage by one threshold (Severe to Major, Major to Minor, Minor to None).</p></li><li><p>You add the current value of the Unstoppable Die to your damage roll.</p></li><li><p>You cant be Restrained or Vulnerable.</p></li></ul><blockquote><p>Tip: If your Unstoppable Die is a d4 and the 4 is currently facing up, you remove the die the next time you would increase it. However, if your Unstoppable Die has increased to a d6 and the 4 is currently facing up, youll turn it to 5 the next time you would increase it. In this case, youll remove the die after you would need to increase it higher than 6.</p></blockquote>",
"chatDisplay": true,
"originItem": {
"type": "itemCollection"
},
"actionType": "action",
"cost": [],
"uses": {
"value": null,
"max": "1",
"recovery": "longRest",
"consumeOnSuccess": false
},
"effects": [
{
"_id": "xzQtFSuDS48kUdAZ",
"onSave": false
}
],
"target": {
"type": "self",
"amount": null
},
"name": "Become Unstoppable",
"img": "icons/magic/defensive/shield-barrier-glowing-blue.webp",
"range": ""
}
},
"originItemType": null,
"originId": null,
"attribution": {
@ -16,7 +53,83 @@
"artist": ""
}
},
"effects": [],
"effects": [
{
"name": "Unstoppable",
"img": "icons/magic/defensive/shield-barrier-glowing-blue.webp",
"origin": "Compendium.daggerheart.classes.Item.PnD2UCgzIlwX6cY3",
"transfer": false,
"_id": "xzQtFSuDS48kUdAZ",
"type": "base",
"system": {
"rangeDependence": {
"enabled": false,
"type": "withinRange",
"target": "hostile",
"range": "melee"
}
},
"changes": [
{
"key": "system.bonuses.damage.physical.bonus",
"mode": 2,
"value": "ORIGIN.@item.resource.value",
"priority": null
},
{
"key": "system.bonuses.damage.magical.bonus",
"mode": 2,
"value": "ORIGIN.@item.resource.value",
"priority": null
},
{
"key": "system.rules.damageReduction.reduceSeverity.physical",
"mode": 2,
"value": "1",
"priority": null
},
{
"key": "system.rules.conditionImmunities.vulnerable",
"mode": 5,
"value": "1",
"priority": null
},
{
"key": "system.rules.conditionImmunities.restrained",
"mode": 5,
"value": "1",
"priority": null
}
],
"disabled": false,
"duration": {
"startTime": null,
"combat": null,
"seconds": null,
"rounds": null,
"turns": null,
"startRound": null,
"startTurn": null
},
"description": "",
"tint": "#ffffff",
"statuses": [],
"sort": 0,
"flags": {},
"_stats": {
"compendiumSource": null,
"duplicateSource": null,
"exportSource": null,
"coreVersion": "13.351",
"systemId": "daggerheart",
"systemVersion": "1.2.4",
"createdTime": 1763835871799,
"modifiedTime": 1763843691784,
"lastModifiedBy": "Q4RzhhaPfvLUzzbw"
},
"_key": "!items.effects!PnD2UCgzIlwX6cY3.xzQtFSuDS48kUdAZ"
}
],
"sort": 0,
"ownership": {
"default": 0,
@ -27,12 +140,12 @@
"compendiumSource": null,
"duplicateSource": null,
"exportSource": null,
"coreVersion": "13.347",
"coreVersion": "13.351",
"systemId": "daggerheart",
"systemVersion": "1.0.5",
"systemVersion": "1.2.4",
"createdTime": 1754246498657,
"modifiedTime": 1755391250586,
"lastModifiedBy": "VZIeX2YDvX338Zvr"
"modifiedTime": 1763839481783,
"lastModifiedBy": "Q4RzhhaPfvLUzzbw"
},
"_key": "!items!PnD2UCgzIlwX6cY3"
}