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