Files
wfrp-4e-de/scripts/U2xKn7R1gm8kiQm8.js
2025-05-10 00:11:46 +02:00

4 lines
207 B
JavaScript

this.actor.hasCondition("broken")?.delete();
let item = await fromUuid("Compendium.wfrp4e-core.items.Item.8pVzgPkgWpTJvfhG")
this.actor.createEmbeddedDocuments("Item", [item], {fromEffect : this.effect.id})