mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-24 19:39:54 +02:00
Compare commits
No commits in common. "2c1f52413d60004c8d4933caf586258ff4baf1cd" and "958eaa310c2b33414527b68afbe6b4ecc64f02c3" have entirely different histories.
2c1f52413d
...
958eaa310c
3 changed files with 4 additions and 6 deletions
|
|
@ -225,7 +225,7 @@ export default class DhActiveEffect extends foundry.documents.ActiveEffect {
|
||||||
*/
|
*/
|
||||||
_getTags() {
|
_getTags() {
|
||||||
const tags = [];
|
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) {
|
if (originActor && originActor !== this.actor) {
|
||||||
tags.push(_loc('DAGGERHEART.EFFECTS.OriginTag', { name: originActor.name }));
|
tags.push(_loc('DAGGERHEART.EFFECTS.OriginTag', { name: originActor.name }));
|
||||||
} else if (!(this.parent instanceof Actor)) {
|
} else if (!(this.parent instanceof Actor)) {
|
||||||
|
|
|
||||||
|
|
@ -46,9 +46,7 @@ export default class DhpCombat extends Combat {
|
||||||
for (let actor of actors) {
|
for (let actor of actors) {
|
||||||
await actor.createEmbeddedDocuments(
|
await actor.createEmbeddedDocuments(
|
||||||
'ActiveEffect',
|
'ActiveEffect',
|
||||||
effects
|
effects.filter(x => x.effectTargetTypes.includes(actor.type))
|
||||||
.filter(x => x.effectTargetTypes.includes(actor.type))
|
|
||||||
.map(x => foundry.utils.deepClone(x))
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
|
|
@ -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": "2.4.1",
|
"version": "2.4.0",
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"minimum": "14.364",
|
"minimum": "14.364",
|
||||||
"verified": "14.364",
|
"verified": "14.364",
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
},
|
},
|
||||||
"url": "https://github.com/Foundryborne/daggerheart",
|
"url": "https://github.com/Foundryborne/daggerheart",
|
||||||
"manifest": "https://raw.githubusercontent.com/Foundryborne/daggerheart/v14/system.json",
|
"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": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "WBHarry"
|
"name": "WBHarry"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue