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

7 lines
392 B
JavaScript

let scythe = (await fromUuid("Compendium.wfrp4e-core.items.CXg7XOFJwu4LZ9LM")).toObject();
scythe.name = "Scythe of Shyish";
scythe.system.damage.value = "WPB + 3"
scythe.system.equipped = true;
scythe.img = this.effect.icon;
scythe.system.qualities.value.push({name : "magical"})
this.actor.createEmbeddedDocuments("Item", [scythe], {fromEffect : this.effect.id})