Ajout de la commande /voyage et grosse MAJK de la commande /auberge

This commit is contained in:
2026-01-07 15:04:49 +01:00
parent c8119601d8
commit f525b6c07a
1329 changed files with 24138 additions and 4397 deletions

View File

@@ -0,0 +1,7 @@
let spells = await warhammer.utility.findAllItems("spell", "Loading Spells", true, ["system.lore.value"]);
spells = spells.filter(i => ["dark", "light", "fire", "life", "beasts", "shadows", "death", "heavens", "metal"].includes(i.system.lore.value)).sort((a, b) => a.name > b.name ? 1 : -1);
let choices = await ItemDialog.create(spells, 7, {text : "Choisissez 7 Sorts parmi toute combinaison de Magie de Couleur, Sorcellerie ou Magie Noire", title : this.effect.name})
this.actor.addEffectItems(choices.map(i => i.uuid), this.effect)