Add all systems effects scripts + translations
This commit is contained in:
6
reference_scripts/9A7rYY3FKi5XLihG.js
Normal file
6
reference_scripts/9A7rYY3FKi5XLihG.js
Normal file
@ -0,0 +1,6 @@
|
||||
fromUuid("Compendium.wfrp4e-core.items.5QcrpLQWWrsbKR79").then(item => {
|
||||
let data = item.toObject();
|
||||
data.system.tests.value = data.system.tests.value.replace("coins", "metal objects");
|
||||
data.system.description.value += "<p>This Talent also extends to any metal object because of <strong>Metallic Affinity</strong></p>"
|
||||
this.actor.createEmbeddedDocuments("Item", [data], {fromEffect : this.effect.id})
|
||||
})
|
Reference in New Issue
Block a user