Add all systems effects scripts + translations
This commit is contained in:
6
reference_scripts/Z1zriXibT0mAmdhb.js
Normal file
6
reference_scripts/Z1zriXibT0mAmdhb.js
Normal file
@ -0,0 +1,6 @@
|
||||
let item = await fromUuid("Compendium.wfrp4e-core.items.BqPZn6q3VHn9HUrW")
|
||||
item = item.toObject()
|
||||
item.name = this.effect.name
|
||||
item.system.specification.value = this.actor.characteristics.s.bonus
|
||||
item.system.description.value = ""
|
||||
this.actor.createEmbeddedDocuments("Item", [item], {fromEffect : this.effect.id})
|
Reference in New Issue
Block a user