skripte in Ursprungsordner

This commit is contained in:
alzer
2025-05-10 00:11:46 +02:00
parent e5e43dda8a
commit 8015566cce
2979 changed files with 327 additions and 326 deletions
+4
View File
@@ -0,0 +1,4 @@
let choice = await ItemDialog.create(this.actor.itemTypes.critical, (this.effect.sourceTest.result.overcast.usage.other.current || 1), "Choose the Critical Wounds to heal (cannot reattach body parts)")
this.script.scriptMessage(`Healed <strong>${choice.map(i => i.name).join(`, `)}</strong>`);
this.actor.deleteEmbeddedDocuments("Item", choice.map(i => i.id))