diff --git a/module/actor.js b/module/actor.js
index 1fbf09d3..43b908cc 100644
--- a/module/actor.js
+++ b/module/actor.js
@@ -1318,7 +1318,12 @@ export class RdDActor extends Actor {
let rolled = rollData.rolled;
let sort = rollData.selectedSort;
let closeTMR = !rollData.isSortReserve;
-
+ if (sort.data.isrituel && isSortReserve) {
+ ui.notifications.error("Impossible de mettre le rituel '" + sort.name + "' en réserve");
+ this.currentTMR.close(); // Close TMR !
+ return;
+ }
+
let explications = rollData.isSortReserve
? ("
Mise en réserve du sort en " + rollData.coordLabel + "(" + rollData.coord + ")")
: "
Lancement du sort ";
diff --git a/system.json b/system.json
index 15bef857..3023faa6 100644
--- a/system.json
+++ b/system.json
@@ -2,10 +2,10 @@
"name": "foundryvtt-reve-de-dragon",
"title": "Rêve de Dragon",
"description": "Rêve de Dragon RPG for FoundryVTT",
- "version": "1.1.3",
+ "version": "1.1.4",
"minimumCoreVersion": "0.7.5",
"compatibleCoreVersion": "0.7.8",
- "templateVersion": 60,
+ "templateVersion": 61,
"author": "LeRatierBretonnien",
"esmodules": [ "module/rdd-main.js", "module/hook-renderChatLog.js" ],
"styles": ["styles/simple.css"],
diff --git a/template.json b/template.json
index 62e2678f..54e4abd4 100644
--- a/template.json
+++ b/template.json
@@ -615,7 +615,9 @@
"caseTMRspeciale": "",
"ptreve": "",
"xp": 0,
- "bonuscase": ""
+ "bonuscase": "",
+ "isrituel": false,
+ "coutseuil": 0
},
"herbe": {
"description": "",
diff --git a/templates/item-sort-sheet.html b/templates/item-sort-sheet.html
index 8395a7b6..728b0d73 100644
--- a/templates/item-sort-sheet.html
+++ b/templates/item-sort-sheet.html
@@ -36,6 +36,14 @@
+
+
+
+
+
+
+
+