Add all systems effects scripts + translations
This commit is contained in:
6
reference_scripts/xRd6oA1QWLVpfoBm.js
Normal file
6
reference_scripts/xRd6oA1QWLVpfoBm.js
Normal file
@ -0,0 +1,6 @@
|
||||
if (!this.actor.has("Night Vision"))
|
||||
{
|
||||
let item = await fromUuid("Compendium.wfrp4e-core.items.FmHDbCOy3pH8yKhm");
|
||||
let data = item.toObject();
|
||||
this.actor.createEmbeddedDocuments("Item", [data], {fromEffect : this.effect.id})
|
||||
}
|
Reference in New Issue
Block a user