mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-27 09:44:51 +02:00
Compare commits
No commits in common. "31c70469efc8797a67cf30fbc8cba93150e22d09" and "668dbdf8f4bcaf6f1055bad3197a96c16f5f7840" have entirely different histories.
31c70469ef
...
668dbdf8f4
3 changed files with 4 additions and 8 deletions
|
|
@ -152,9 +152,8 @@ export function ActionMixin(Base) {
|
||||||
}
|
}
|
||||||
|
|
||||||
get uuid() {
|
get uuid() {
|
||||||
const isItem = this.item instanceof game.system.api.documents.DHItem;
|
if (!(this.item instanceof game.system.api.documents.DHItem)) return null;
|
||||||
const isActor = this.item instanceof game.system.api.documents.DhpActor;
|
return `${this.item.uuid}.${this.documentName}.${this.id}`;
|
||||||
return isItem || isActor ? `${this.item.uuid}.${this.documentName}.${this.id}` : null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
get sheet() {
|
get sheet() {
|
||||||
|
|
|
||||||
|
|
@ -185,10 +185,7 @@ export default class DHItem extends foundry.documents.Item {
|
||||||
tags: this._getTags()
|
tags: this._getTags()
|
||||||
},
|
},
|
||||||
actions: item.system.actionsList,
|
actions: item.system.actionsList,
|
||||||
description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.system.description, {
|
description: this.system.description
|
||||||
relativeTo: this.parent,
|
|
||||||
rollData: this.parent?.getRollData() ?? {}
|
|
||||||
})
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const msg = {
|
const msg = {
|
||||||
|
|
|
||||||
|
|
@ -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": "1.6.3",
|
"version": "1.6.2",
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"minimum": "13.346",
|
"minimum": "13.346",
|
||||||
"verified": "13.351",
|
"verified": "13.351",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue