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

6 lines
305 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
let arm = await fromUuid("Compendium.wfrp4e-core.items.MnMZv7ZXoRqoH9dS");
let leg = await fromUuid("Compendium.wfrp4e-core.items.k00PimCWkff11IA0");
let choice = await ItemDialog.create([arm, leg], 1, "Choisir le Membre")
2024-05-16 17:57:51 +02:00
this.actor.createEmbeddedDocuments("Item", choice, {fromEffect: this.effect.id})