[Fix] Compendium Item (#810)

* Corrected Emberwoven Armor

* Fixed subclass regression
This commit is contained in:
WBHarry 2025-08-11 00:20:48 +02:00 committed by GitHub
parent d571a89a7c
commit c74c7aaedd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 11 deletions

View file

@ -1363,17 +1363,17 @@
},
"paired": {
"name": "Paired",
"description": "Add your character's Tier + 1 to primary weapon damage against targets within Melee range",
"description": "Add this Secondary Weapon's tier + 1 to your primary weapon damage against targets within Melee range",
"actions": {
"paired": {
"name": "Paired",
"description": "Add your character's Tier + 1 to primary weapon damage against targets within Melee range"
"description": "Add this Secondary Weapon's tier + 1 to your primary weapon against targets within Melee range"
}
},
"effects": {
"paired": {
"name": "Paired",
"description": "Add your character's Tier + 1 to primary weapon damage against targets within Melee range"
"description": "Add this Secondary Weapon's tier + 1 to your primary weapon against targets within Melee range"
}
}
},

View file

@ -51,7 +51,7 @@ export default class DHSubclass extends BaseDataItem {
async _preCreate(data, options, user) {
if (this.actor?.type === 'character') {
const dataUuid =
(data.uuid ?? data.folder) ? `Compendium.daggerheart.subclasses.Item.${data._id}` : `Item.${data._id}`;
data.uuid ?? (data.folder ? `Compendium.daggerheart.subclasses.Item.${data._id}` : `Item.${data._id}`);
if (this.actor.system.class.subclass) {
if (this.actor.system.multiclass.subclass) {
ui.notifications.warn(game.i18n.localize('DAGGERHEART.UI.Notifications.subclassesAlreadyPresent'));

View file

@ -63,7 +63,7 @@
"attached": [],
"tier": 4,
"equipped": false,
"baseScore": 0,
"baseScore": 6,
"armorFeatures": [
{
"value": "burning",
@ -77,8 +77,8 @@
"value": 0
},
"baseThresholds": {
"major": 0,
"severe": 0
"major": 13,
"severe": 36
}
},
"effects": [],
@ -92,12 +92,12 @@
"compendiumSource": null,
"duplicateSource": null,
"exportSource": null,
"coreVersion": "13.346",
"coreVersion": "13.347",
"systemId": "daggerheart",
"systemVersion": "0.0.1",
"systemVersion": "1.0.0",
"createdTime": 1753809470138,
"modifiedTime": 1753809633344,
"lastModifiedBy": "FecEtPuoQh6MpjQ0"
"modifiedTime": 1754853048367,
"lastModifiedBy": "7zAk0CoP90J7ebn0"
},
"_key": "!items!bcQUh4QG3qFX0Vx6"
}