Files
foundryvtt-wh4-lang-fr-fr/scripts/1UvL0XA1EpQtjDNn.js

8 lines
245 B
JavaScript

let effects = this.item.effects.contents.filter(i => i.id != this.effect.id);
let choice = await ItemDialog.create(effects, 1, {title : this.effect.name, text: "Choisissez une Rune"});
if (choice[0])
{
choice[0].performEffectApplication();
}