Added properties antagonists (ex : Sacred remove Unholy on drop).

This commit is contained in:
Vlyan
2021-07-02 19:33:05 +02:00
parent ef293ef204
commit 3d2181e3b0
12 changed files with 73 additions and 58 deletions

View File

@@ -140,7 +140,10 @@ export class HelpersL5r5e {
document.data.update({ "flags.core.sourceId": document.uuid });
}
await HelpersL5r5e.refreshItemProperties(document);
// Care to infinite loop in properties
if (document.type !== "property") {
await HelpersL5r5e.refreshItemProperties(document);
}
document.prepareData();
}
} catch (err) {