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

4 lines
218 B
JavaScript
Raw Permalink Normal View History

let choice = await ItemDialog.create(this.actor.itemTypes.disease, 1, "Choose a disease to heal (must be naturally occuring)")
this.script.scriptMessage(`Cured <strong>${choice[0]?.name}</strong>`);
choice[0].delete()