Merge branch 'main' into release

This commit is contained in:
WBHarry 2026-04-11 13:59:53 +02:00
commit 393071defc
3 changed files with 21 additions and 10 deletions

View file

@ -82,7 +82,7 @@ export default class ArmorChange extends foundry.abstract.DataModel {
{ {
...change, ...change,
key: 'system.damageThresholds.major', key: 'system.damageThresholds.major',
type: CONFIG.DH.GENERAL.activeEffectModes.override.id, type: CONFIG.DH.GENERAL.activeEffectModes.add.id,
priority: 50, priority: 50,
value: major value: major
}, },
@ -96,7 +96,7 @@ export default class ArmorChange extends foundry.abstract.DataModel {
{ {
...change, ...change,
key: 'system.damageThresholds.severe', key: 'system.damageThresholds.severe',
type: CONFIG.DH.GENERAL.activeEffectModes.override.id, type: CONFIG.DH.GENERAL.activeEffectModes.add.id,
priority: 50, priority: 50,
value: severe value: severe
}, },

View file

@ -4,7 +4,7 @@
"type": "domainCard", "type": "domainCard",
"folder": "QpOL7jPbMBzH96qR", "folder": "QpOL7jPbMBzH96qR",
"system": { "system": {
"description": "<p class=\"Body-Foundation\">When you choose not to equip armor, you have a base Armor Score of 3 + your Strength and use the following as your base damage thresholds:</p><ul><li class=\"vertical-card-list-found\"><em><strong>Tier 1:</strong></em> 9/19</li><li class=\"vertical-card-list-found\"><em><strong>Tier 2:</strong></em> 11/24</li><li class=\"vertical-card-list-found\"><em><strong>Tier 3:</strong></em> 13/31</li><li class=\"vertical-card-list-found\"><em><strong>Tier 4:</strong></em> 15/38</li></ul><p>Equip the below armor to use Bare Bones.</p><p>@UUID[Compendium.daggerheart.armors.Item.ITAjcigTcUw5pMCN]{Bare Bones}</p>", "description": "<p class=\"Body-Foundation\">When you choose not to equip armor, you have a base Armor Score of 3 + your Strength and use the following as your base damage thresholds:</p><ul><li class=\"vertical-card-list-found\"><p><em><strong>Tier 1:</strong></em> 9/19</p></li><li class=\"vertical-card-list-found\"><p><em><strong>Tier 2:</strong></em> 11/24</p></li><li class=\"vertical-card-list-found\"><p><em><strong>Tier 3:</strong></em> 13/31</p></li><li class=\"vertical-card-list-found\"><p><em><strong>Tier 4:</strong></em> 15/38</p></li></ul>",
"domain": "valor", "domain": "valor",
"recallCost": 0, "recallCost": 0,
"level": 1, "level": 1,
@ -28,22 +28,33 @@
{ {
"type": "armor", "type": "armor",
"phase": "initial", "phase": "initial",
"priority": 20,
"value": { "value": {
"current": 0,
"max": "3 + @system.traits.strength.value", "max": "3 + @system.traits.strength.value",
"interaction": "inactive", "interaction": "inactive",
"damageThresholds": { "damageThresholds": {
"major": "9 + (@tier - 1) * 5 + max(0, (@tier -2) * 2 )", "major": "9 + (@tier - 1) * 2",
"severe": "19 + (@tier - 1) * 5 + max(0, (@tier -2) * 2 )" "severe": "19 + (@tier - 1) * 5 + max(0, (@tier -2) * 2 )"
} }
},
"priority": 20
} }
],
"duration": {
"type": ""
} }
]
}, },
"_id": "FCsgz7Tdsw6QUzBs", "_id": "FCsgz7Tdsw6QUzBs",
"img": "icons/magic/control/buff-strength-muscle-damage-orange.webp", "img": "icons/magic/control/buff-strength-muscle-damage-orange.webp",
"disabled": false, "disabled": false,
"start": null, "start": {
"time": 0,
"combat": null,
"combatant": null,
"initiative": null,
"round": null,
"turn": null
},
"duration": { "duration": {
"value": null, "value": null,
"units": "seconds", "units": "seconds",

View file

@ -2,7 +2,7 @@
"id": "daggerheart", "id": "daggerheart",
"title": "Daggerheart", "title": "Daggerheart",
"description": "An unofficial implementation of the Daggerheart system", "description": "An unofficial implementation of the Daggerheart system",
"version": "2.1.0", "version": "2.1.1",
"compatibility": { "compatibility": {
"minimum": "14.359", "minimum": "14.359",
"verified": "14.360", "verified": "14.360",
@ -298,5 +298,5 @@
"secondaryTokenAttribute": "resources.stress", "secondaryTokenAttribute": "resources.stress",
"url": "https://github.com/Foundryborne/daggerheart", "url": "https://github.com/Foundryborne/daggerheart",
"manifest": "https://raw.githubusercontent.com/Foundryborne/daggerheart/main/system.json", "manifest": "https://raw.githubusercontent.com/Foundryborne/daggerheart/main/system.json",
"download": "https://github.com/Foundryborne/daggerheart/releases/download/2.1.0/system.zip" "download": "https://github.com/Foundryborne/daggerheart/releases/download/2.1.1/system.zip"
} }