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

4 lines
207 B
JavaScript
Raw Normal View History

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