forked from public/foundryvtt-reve-de-dragon
Support @roll[2d6]
This commit is contained in:
@ -173,7 +173,7 @@ export class RdDRoll extends Dialog {
|
||||
this.updateRollResult(html);
|
||||
this.html.find("[name='diffLibre']").val(this.rollData.diffLibre);
|
||||
});
|
||||
this.html.find('.roll-carac-competence').change((event) => {
|
||||
this.html.find('.roll-text').change((event) => {
|
||||
const competence = event.currentTarget.value
|
||||
this.rollData.competence = this.rollData.competences.find(it => Grammar.equalsInsensitive(it.name, competence))
|
||||
this.updateRollResult(html);
|
||||
|
Reference in New Issue
Block a user