foundryvtt-wh4-lang-fr-fr/reference_scripts/VLdF2HPnCrNIgp7a.js

14 lines
463 B
JavaScript
Raw Normal View History

2024-06-06 21:09:27 +02:00
let items = [];
let etiquette = (await fromUuid("Compendium.wfrp4e-core.items.Item.sYbgpSnRqSZWgwFP")).toObject();
etiquette.name += " (Followers of Khorne)";
items.push(etiquette);
let animosity = (await fromUuid("Compendium.wfrp4e-core.items.Item.0VpT5yubw4UL7j6f")).toObject();
animosity.system.specification.value = "Followers of Slaanesh";
items.push(animosity);
await this.actor.createEmbeddedDocuments("Item", items, {fromEffect : this.effect.id});