Neuanfang mit französischem Modul

This commit is contained in:
2025-05-05 23:25:00 +02:00
parent cf24ef97df
commit 3f74b8dfdd
3135 changed files with 38383 additions and 93206 deletions
-13
View File
@@ -1,13 +0,0 @@
let spells = await warhammer.utility.findAllItems("spell", "Loading Spells", true);
let choice = await ItemDialog.create(spells, 1);
if (choice[0])
{
this.script.scriptMessage(`Chose @UUID[${choice[0].uuid}]{${choice[0].name}}`)
let spell = (await fromUuid(choice[0].uuid)).toObject(); // Might be an index so retrieve item object for sure
setProperty(spell, "flags.wfrp4e.boonOfTzeentch", true);
spell.system.wind.value = "Channelling (Dhar)";
spell.system.memorized.value = true;
this.actor.createEmbeddedDocuments("Item", [spell], {fromEffect: this.effect.id})
}