diff --git a/module/rdd-roll-dialog.js b/module/rdd-roll-dialog.js index 60a8440c..be5a5223 100644 --- a/module/rdd-roll-dialog.js +++ b/module/rdd-roll-dialog.js @@ -98,6 +98,9 @@ export class RdDRollDialog extends Dialog { rollData.selectedCarac = rollData.carac[rollData.competence.data.defaut_carac]; $("#carac").val(rollData.competence.data.defaut_carac); } + // Si sort, for les points de reve à 1 + if (!rollData.selectedSort.data.ptreve_reel) + rollData.selectedSort.data.ptreve_reel = 1; $("#bonusmalus").val(rollData.bmValue); updateRollResult(rollData); }); diff --git a/system.json b/system.json index c6ca0c9b..14896a5c 100644 --- a/system.json +++ b/system.json @@ -2,7 +2,7 @@ "name": "foundryvtt-reve-de-dragon", "title": "Rêve de Dragon", "description": "Rêve de Dragon RPG for FoundryVTT", - "version": "0.9.39", + "version": "0.9.40", "minimumCoreVersion": "0.7.5", "compatibleCoreVersion": "0.7.6", "templateVersion": 44,