This commit is contained in:
Dapoolp 2025-09-04 15:07:00 +02:00
commit e3859c5fea
6 changed files with 52 additions and 28 deletions

View file

@ -401,7 +401,7 @@ export default function DHApplicationMixin(Base) {
options.push({ options.push({
name: 'DAGGERHEART.APPLICATIONS.ContextMenu.sendToChat', name: 'DAGGERHEART.APPLICATIONS.ContextMenu.sendToChat',
icon: 'fa-solid fa-message', icon: 'fa-solid fa-message',
callback: async target => (await getDocFromElement(target)).toChat(this.document.id) callback: async target => (await getDocFromElement(target)).toChat(this.document.uuid)
}); });
if (deletable) if (deletable)

View file

@ -574,17 +574,17 @@ export const abilityCosts = {
}, },
hope: { hope: {
id: 'hope', id: 'hope',
label: 'Hope', label: 'DAGGERHEART.CONFIG.HealingType.hope.name',
group: 'TYPES.Actor.character' group: 'TYPES.Actor.character'
}, },
armor: { armor: {
id: 'armor', id: 'armor',
label: 'Armor Slot', label: 'DAGGERHEART.CONFIG.HealingType.armor.name',
group: 'TYPES.Actor.character' group: 'TYPES.Actor.character'
}, },
fear: { fear: {
id: 'fear', id: 'fear',
label: 'Fear', label: 'DAGGERHEART.CONFIG.HealingType.fear.name',
group: 'TYPES.Actor.adversary' group: 'TYPES.Actor.adversary'
} }
}; };

View file

@ -105,13 +105,14 @@
"effects": [ "effects": [
{ {
"name": "Protective", "name": "Protective",
"description": "Add your character's Tier to your Armor Score", "description": "<p>Add the item's Tier to your Armor Score</p>",
"img": "icons/skills/melee/shield-block-gray-orange.webp", "img": "icons/skills/melee/shield-block-gray-orange.webp",
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "system.armorScore",
"mode": 2, "mode": 2,
"value": "ITEM.@system.tier" "value": "ITEM.@system.tier",
"priority": null
} }
], ],
"_id": "i5HfkF5aKQuUCTEG", "_id": "i5HfkF5aKQuUCTEG",
@ -120,7 +121,12 @@
"disabled": false, "disabled": false,
"duration": { "duration": {
"startTime": null, "startTime": null,
"combat": null "combat": null,
"seconds": null,
"rounds": null,
"turns": null,
"startRound": null,
"startTurn": null
}, },
"origin": null, "origin": null,
"tint": "#ffffff", "tint": "#ffffff",
@ -132,12 +138,12 @@
"compendiumSource": null, "compendiumSource": null,
"duplicateSource": null, "duplicateSource": null,
"exportSource": null, "exportSource": null,
"coreVersion": "13.346", "coreVersion": "13.348",
"systemId": "daggerheart", "systemId": "daggerheart",
"systemVersion": "0.0.1", "systemVersion": "0.0.1",
"createdTime": 1753794875150, "createdTime": 1753794875150,
"modifiedTime": 1753794875150, "modifiedTime": 1756682958806,
"lastModifiedBy": "FecEtPuoQh6MpjQ0" "lastModifiedBy": "mdk78Q6pOyHh6aBg"
}, },
"_key": "!items.effects!hiEOGF2reabGLUoi.i5HfkF5aKQuUCTEG" "_key": "!items.effects!hiEOGF2reabGLUoi.i5HfkF5aKQuUCTEG"
} }

View file

@ -105,13 +105,14 @@
"effects": [ "effects": [
{ {
"name": "Protective", "name": "Protective",
"description": "Add your character's Tier to your Armor Score", "description": "<p>Add the item's Tier to your Armor Score</p>",
"img": "icons/skills/melee/shield-block-gray-orange.webp", "img": "icons/skills/melee/shield-block-gray-orange.webp",
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "system.armorScore",
"mode": 2, "mode": 2,
"value": "ITEM.@system.tier" "value": "ITEM.@system.tier",
"priority": null
} }
], ],
"_id": "cXWSV50apzaNQkdA", "_id": "cXWSV50apzaNQkdA",
@ -120,7 +121,12 @@
"disabled": false, "disabled": false,
"duration": { "duration": {
"startTime": null, "startTime": null,
"combat": null "combat": null,
"seconds": null,
"rounds": null,
"turns": null,
"startRound": null,
"startTurn": null
}, },
"origin": null, "origin": null,
"tint": "#ffffff", "tint": "#ffffff",
@ -132,12 +138,12 @@
"compendiumSource": null, "compendiumSource": null,
"duplicateSource": null, "duplicateSource": null,
"exportSource": null, "exportSource": null,
"coreVersion": "13.346", "coreVersion": "13.348",
"systemId": "daggerheart", "systemId": "daggerheart",
"systemVersion": "0.0.1", "systemVersion": "0.0.1",
"createdTime": 1753794098464, "createdTime": 1753794098464,
"modifiedTime": 1753794098464, "modifiedTime": 1756682973559,
"lastModifiedBy": "FecEtPuoQh6MpjQ0" "lastModifiedBy": "mdk78Q6pOyHh6aBg"
}, },
"_key": "!items.effects!DlinEBGZfIlvreO3.cXWSV50apzaNQkdA" "_key": "!items.effects!DlinEBGZfIlvreO3.cXWSV50apzaNQkdA"
} }

View file

@ -105,13 +105,14 @@
"effects": [ "effects": [
{ {
"name": "Protective", "name": "Protective",
"description": "Add your character's Tier to your Armor Score", "description": "<p>Add the item's Tier to your Armor Score</p>",
"img": "icons/skills/melee/shield-block-gray-orange.webp", "img": "icons/skills/melee/shield-block-gray-orange.webp",
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "system.armorScore",
"mode": 2, "mode": 2,
"value": "ITEM.@system.tier" "value": "ITEM.@system.tier",
"priority": null
} }
], ],
"_id": "Z2p00q5h6x6seXys", "_id": "Z2p00q5h6x6seXys",
@ -120,7 +121,12 @@
"disabled": false, "disabled": false,
"duration": { "duration": {
"startTime": null, "startTime": null,
"combat": null "combat": null,
"seconds": null,
"rounds": null,
"turns": null,
"startRound": null,
"startTurn": null
}, },
"origin": null, "origin": null,
"tint": "#ffffff", "tint": "#ffffff",
@ -132,12 +138,12 @@
"compendiumSource": null, "compendiumSource": null,
"duplicateSource": null, "duplicateSource": null,
"exportSource": null, "exportSource": null,
"coreVersion": "13.346", "coreVersion": "13.348",
"systemId": "daggerheart", "systemId": "daggerheart",
"systemVersion": "0.0.1", "systemVersion": "0.0.1",
"createdTime": 1753796983285, "createdTime": 1753796983285,
"modifiedTime": 1753796983285, "modifiedTime": 1756682777682,
"lastModifiedBy": "FecEtPuoQh6MpjQ0" "lastModifiedBy": "mdk78Q6pOyHh6aBg"
}, },
"_key": "!items.effects!A28WL9E2lJ3iLZHW.Z2p00q5h6x6seXys" "_key": "!items.effects!A28WL9E2lJ3iLZHW.Z2p00q5h6x6seXys"
} }

View file

@ -105,13 +105,14 @@
"effects": [ "effects": [
{ {
"name": "Protective", "name": "Protective",
"description": "Add your character's Tier to your Armor Score", "description": "<p>Add the item's Tier to your Armor Score.</p>",
"img": "icons/skills/melee/shield-block-gray-orange.webp", "img": "icons/skills/melee/shield-block-gray-orange.webp",
"changes": [ "changes": [
{ {
"key": "system.armorScore", "key": "system.armorScore",
"mode": 2, "mode": 2,
"value": "ITEM.@system.tier" "value": "ITEM.@system.tier",
"priority": null
} }
], ],
"_id": "M70a81e0Mg66jHRL", "_id": "M70a81e0Mg66jHRL",
@ -120,7 +121,12 @@
"disabled": false, "disabled": false,
"duration": { "duration": {
"startTime": null, "startTime": null,
"combat": null "combat": null,
"seconds": null,
"rounds": null,
"turns": null,
"startRound": null,
"startTurn": null
}, },
"origin": null, "origin": null,
"tint": "#ffffff", "tint": "#ffffff",
@ -132,12 +138,12 @@
"compendiumSource": null, "compendiumSource": null,
"duplicateSource": null, "duplicateSource": null,
"exportSource": null, "exportSource": null,
"coreVersion": "13.346", "coreVersion": "13.348",
"systemId": "daggerheart", "systemId": "daggerheart",
"systemVersion": "0.0.1", "systemVersion": "0.0.1",
"createdTime": 1753794114980, "createdTime": 1753794114980,
"modifiedTime": 1753794114980, "modifiedTime": 1756682994216,
"lastModifiedBy": "FecEtPuoQh6MpjQ0" "lastModifiedBy": "mdk78Q6pOyHh6aBg"
}, },
"_key": "!items.effects!mxwWKDujgsRcZWPT.M70a81e0Mg66jHRL" "_key": "!items.effects!mxwWKDujgsRcZWPT.M70a81e0Mg66jHRL"
} }