Add all systems effects scripts + translations
This commit is contained in:
5
reference_scripts/PjRxGuUDKGmSmVDc.js
Normal file
5
reference_scripts/PjRxGuUDKGmSmVDc.js
Normal file
@ -0,0 +1,5 @@
|
||||
fromUuid("Compendium.wfrp4e-core.items.EO05HX7jql0g605A").then(item => {
|
||||
item = item.toObject()
|
||||
item.system.specification.value = this.actor.characteristics.ag.value
|
||||
this.actor.createEmbeddedDocuments("Item", [item], {fromEffect : this.effect.id})
|
||||
})
|
Reference in New Issue
Block a user