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

14 lines
477 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.Q2MCUrG2HppMcvN0")).toObject();
animosity.name = animosity.name.replace("(Target)", "(Followers of Slaanesh)");
items.push(animosity);
await this.actor.createEmbeddedDocuments("Item", items, {fromEffect : this.effect.id});