5 lines
241 B
JavaScript
5 lines
241 B
JavaScript
if (this.item.system.disabled) {
|
|
await this.effect.deleteCreatedItems();
|
|
} else if (!this.actor.items.find(i => i.name === "Furtif")) {
|
|
await this.actor.addEffectItems("Compendium.wfrp4e-core.items.Item.OzwDT6kzoLYeeR2d", this.effect);
|
|
} |