foundryvtt-wh4-lang-fr-fr/scripts/U2xKn7R1gm8kiQm8.js

4 lines
207 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
this.actor.hasCondition("broken")?.delete();
let item = await fromUuid("Compendium.wfrp4e-core.items.Item.8pVzgPkgWpTJvfhG")
this.actor.createEmbeddedDocuments("Item", [item], {fromEffect : this.effect.id})