Files
foundryvtt-wh4-lang-fr-fr/scripts/DBelNjOULhhAADVJ.js
T
uberwald 38d88c2f19
Validation JSON / validate (push) Successful in 13s
Mise àjour vers 9.6.0
2026-05-18 07:23:40 +02:00

12 lines
366 B
JavaScript

let properties = {
ugly : "Ugly",
shoddy : "Shoddy",
unreliable : "Unreliable"
};
let choice = await ItemDialog.create(ItemDialog.objectToArray(properties), 1, {title: this.effect.name, text: "Select Property"});
if (choice[0])
{
this.effect.updateSource({"flags.wfrp4e.property" : choice[0].id, name : this.effect.setSpecifier(choice[0].name)});
}