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

4 lines
218 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
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()