- {{#if (eq attacker.data.type 'personnage')}}
+ {{#if (eq attacker.type 'personnage')}}
{{#unless essais.attaqueChance}}
{{/unless}}
- {{#if (gt attacker.data.data.compteurs.destinee.value 0)}}
+ {{#if (gt attacker.data.compteurs.destinee.value 0)}}
diff --git a/templates/chat-demande-defense.html b/templates/chat-demande-defense.html
index 5f384da5..ff1ea42f 100644
--- a/templates/chat-demande-defense.html
+++ b/templates/chat-demande-defense.html
@@ -19,14 +19,14 @@
{{#unless (eq surprise 'totale')}}
{{#if essais.defense}}
{{#unless essais.defenseChance}}
- {{#if (eq defender.data.type 'personnage')}}
+ {{#if (eq defender.type 'personnage')}}
{{/if}}
- {{#if (eq defender.data.type 'personnage')}}
- {{#if (gt defender.data.data.compteurs.destinee.value 0)}}
+ {{#if (eq defender.type 'personnage')}}
+ {{#if (gt defender.data.compteurs.destinee.value 0)}}
diff --git a/templates/chat-resultat-reve-de-dragon.html b/templates/chat-resultat-reve-de-dragon.html
index f1aa7992..3bd7ae4e 100644
--- a/templates/chat-resultat-reve-de-dragon.html
+++ b/templates/chat-resultat-reve-de-dragon.html
@@ -15,7 +15,7 @@
Vous ne parvenez pas à vaincre le Rêve de Dragon, et prennez un violent coup de queue.
Vous subissez {{#if rolled.isETotal}}deux queues{{else}}une queue{{/if}} de dragon!
{{#each queues as | queue key|}}
-
{{queue.name}}: {{{queue.data.description}}}
{{/each}}
{{/if}}
diff --git a/templates/item-competence-sheet.html b/templates/item-competence-sheet.html
index 933f9ace..21663962 100644
--- a/templates/item-competence-sheet.html
+++ b/templates/item-competence-sheet.html
@@ -16,7 +16,7 @@
-
-
+
diff --git a/templates/item-herbe-sheet.html b/templates/item-herbe-sheet.html
index 38234bc7..84cf84a6 100644
--- a/templates/item-herbe-sheet.html
+++ b/templates/item-herbe-sheet.html
@@ -27,7 +27,7 @@
-
+
{{#select data.rarete}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-rarete.html"}}
{{/select}}
@@ -35,7 +35,7 @@
-
+
{{#select data.categorie}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-categorie-ingredient.html"}}
{{/select}}
diff --git a/templates/item-ingredient-sheet.html b/templates/item-ingredient-sheet.html
index 8ab2dded..6429cb9d 100644
--- a/templates/item-ingredient-sheet.html
+++ b/templates/item-ingredient-sheet.html
@@ -32,7 +32,7 @@
-
+
{{#select data.rarete}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-rarete.html"}}
{{/select}}
@@ -40,7 +40,7 @@
-
+
{{#select data.categorie}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-categorie-ingredient.html"}}
{{/select}}
diff --git a/templates/item-livre-sheet.html b/templates/item-livre-sheet.html
index 2f8669dc..95224cc6 100644
--- a/templates/item-livre-sheet.html
+++ b/templates/item-livre-sheet.html
@@ -56,7 +56,7 @@
{{#if isOwned}}
{{/if}}
diff --git a/templates/item-potion-sheet.html b/templates/item-potion-sheet.html
index b5ed869d..041afe1e 100644
--- a/templates/item-potion-sheet.html
+++ b/templates/item-potion-sheet.html
@@ -22,7 +22,7 @@
-
+
{{#select data.rarete}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-rarete.html"}}
{{/select}}
@@ -30,7 +30,7 @@
-
+
{{#select data.categorie}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-categorie-ingredient.html"}}
{{/select}}