Compare commits

..

No commits in common. "2c1f52413d60004c8d4933caf586258ff4baf1cd" and "958eaa310c2b33414527b68afbe6b4ecc64f02c3" have entirely different histories.

3 changed files with 4 additions and 6 deletions

View file

@ -225,7 +225,7 @@ export default class DhActiveEffect extends foundry.documents.ActiveEffect {
*/
_getTags() {
const tags = [];
const originActor = DhActiveEffect.#resolveParentDocument(fromUuidSync(this.origin, { strict: false }), Actor);
const originActor = DhActiveEffect.#resolveParentDocument(fromUuidSync(this.origin), Actor);
if (originActor && originActor !== this.actor) {
tags.push(_loc('DAGGERHEART.EFFECTS.OriginTag', { name: originActor.name }));
} else if (!(this.parent instanceof Actor)) {

View file

@ -46,9 +46,7 @@ export default class DhpCombat extends Combat {
for (let actor of actors) {
await actor.createEmbeddedDocuments(
'ActiveEffect',
effects
.filter(x => x.effectTargetTypes.includes(actor.type))
.map(x => foundry.utils.deepClone(x))
effects.filter(x => x.effectTargetTypes.includes(actor.type))
);
}
} else {

View file

@ -2,7 +2,7 @@
"id": "daggerheart",
"title": "Daggerheart",
"description": "An unofficial implementation of the Daggerheart system",
"version": "2.4.1",
"version": "2.4.0",
"compatibility": {
"minimum": "14.364",
"verified": "14.364",
@ -10,7 +10,7 @@
},
"url": "https://github.com/Foundryborne/daggerheart",
"manifest": "https://raw.githubusercontent.com/Foundryborne/daggerheart/v14/system.json",
"download": "https://github.com/Foundryborne/daggerheart/releases/download/2.4.1/system.zip",
"download": "https://github.com/Foundryborne/daggerheart/releases/download/2.4.0/system.zip",
"authors": [
{
"name": "WBHarry"