forked from public/foundryvtt-reve-de-dragon
Corrections compétences créatures
This commit is contained in:
@ -138,9 +138,9 @@ export class RdDRoll extends Dialog {
|
||||
}
|
||||
if (this.rollData.selectedCarac) {
|
||||
this.html.find("[name='carac']").val(
|
||||
this.actor?.type == ACTOR_TYPES.personnage
|
||||
? RdDCarac.caracDetails(this.rollData.selectedCarac.label).code
|
||||
: this.rollData.selectedCarac.label
|
||||
RdDCarac.caracDetails(this.rollData.selectedCarac.label, { onMessage: m => { } })?.code
|
||||
?? this.rollData.selectedCarac.code
|
||||
?? Grammar.toLowerCaseNoAccentNoSpace(this.rollData.selectedCarac.label)
|
||||
)
|
||||
}
|
||||
if (this.rollData.selectedSort) {
|
||||
@ -259,7 +259,7 @@ export class RdDRoll extends Dialog {
|
||||
this.updateRollResult(html);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/* -------------------------------------------- */
|
||||
close() {
|
||||
if (this.rollData.canClose) {
|
||||
|
Reference in New Issue
Block a user