Files
foundryvtt-wh4-lang-fr-fr/scripts/A6DcKPzAGntzSCil.js
2026-01-29 11:43:28 +01:00

5 lines
203 B
JavaScript

let roll = await new Roll("1d10").roll()
roll.toMessage(this.script.getChatData({flavor : `Lâche ${dropped.map(i => i.name).join(", ")}!`}));
this.effect.updateSource({"duration.rounds" : roll.total})