This commit is contained in:
2025-05-02 12:24:44 +02:00
commit 39e925cc1b
3238 changed files with 110472 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
if (args.equipped)
{
let ward = await fromUuid("Compendium.wfrp4e-core.items.Bvd2aZ0gQUXHfCTh")
wardData = ward.toObject()
wardData.system.specification.value = "8"
let mr = await fromUuid("Compendium.wfrp4e-core.items.yrkI7ATjqLPDTFmZ")
mrData = mr.toObject()
mrData.system.specification.value = 2
this.actor.createEmbeddedDocuments("Item", [wardData, mrData], {fromEffect : this.effect.id})
}
else
{
this.effect.deleteCreatedItems()
}