mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-17 23:49:02 +01:00
Fixed subclass regression
This commit is contained in:
parent
51c396bf2d
commit
63dd02df42
2 changed files with 5 additions and 5 deletions
|
|
@ -1362,17 +1362,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"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -1899,7 +1899,7 @@
|
|||
"difficulty": "Difficulty",
|
||||
"downtime": "Downtime",
|
||||
"dropActorsHere": "Drop Actors here",
|
||||
"dropFeaturesHere": "Drop Features here",
|
||||
"dropFeaturesHere": "Drop Features here",
|
||||
"duality": "Duality",
|
||||
"dualityRoll": "Duality Roll",
|
||||
"enabled": "Enabled",
|
||||
|
|
|
|||
|
|
@ -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'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue