diff --git a/Reve de Dragon - 2021 - (FR)/RDD2021FR.css b/Reve de Dragon - 2021 - (FR)/RDD2021FR.css
index ebc49a3cc8..8359229da6 100644
--- a/Reve de Dragon - 2021 - (FR)/RDD2021FR.css
+++ b/Reve de Dragon - 2021 - (FR)/RDD2021FR.css
@@ -44538,7 +44538,8 @@ button[type="action"].sheet-tmr-case-chrome:active{
display: none;
}
-.sheet-block-chance-pj-1,
+.sheet-block-chance-pj-0,
+.sheet-coche-chance-pj-1:checked ~ .sheet-block-chance-pj-1,
.sheet-coche-chance-pj-2:checked ~ .sheet-block-chance-pj-2,
.sheet-coche-chance-pj-3:checked ~ .sheet-block-chance-pj-3,
.sheet-coche-chance-pj-4:checked ~ .sheet-block-chance-pj-4,
@@ -44548,6 +44549,7 @@ button[type="action"].sheet-tmr-case-chrome:active{
display: block;
}
+.sheet-block-chance-pj-1,
.sheet-block-chance-pj-2,
.sheet-block-chance-pj-3,
.sheet-block-chance-pj-4,
@@ -44555,6 +44557,15 @@ button[type="action"].sheet-tmr-case-chrome:active{
.sheet-block-chance-pj-6,
.sheet-block-chance-pj-7,
+.sheet-coche-chance-pj-1:checked ~ .sheet-block-chance-pj-0,
+.sheet-coche-chance-pj-1:checked ~ .sheet-block-chance-pj-2,
+.sheet-coche-chance-pj-1:checked ~ .sheet-block-chance-pj-3,
+.sheet-coche-chance-pj-1:checked ~ .sheet-block-chance-pj-4,
+.sheet-coche-chance-pj-1:checked ~ .sheet-block-chance-pj-5,
+.sheet-coche-chance-pj-1:checked ~ .sheet-block-chance-pj-6,
+.sheet-coche-chance-pj-1:checked ~ .sheet-block-chance-pj-7,
+
+.sheet-coche-chance-pj-2:checked ~ .sheet-block-chance-pj-0,
.sheet-coche-chance-pj-2:checked ~ .sheet-block-chance-pj-1,
.sheet-coche-chance-pj-2:checked ~ .sheet-block-chance-pj-3,
.sheet-coche-chance-pj-2:checked ~ .sheet-block-chance-pj-4,
@@ -44562,6 +44573,7 @@ button[type="action"].sheet-tmr-case-chrome:active{
.sheet-coche-chance-pj-2:checked ~ .sheet-block-chance-pj-6,
.sheet-coche-chance-pj-2:checked ~ .sheet-block-chance-pj-7,
+.sheet-coche-chance-pj-3:checked ~ .sheet-block-chance-pj-0,
.sheet-coche-chance-pj-3:checked ~ .sheet-block-chance-pj-1,
.sheet-coche-chance-pj-3:checked ~ .sheet-block-chance-pj-2,
.sheet-coche-chance-pj-3:checked ~ .sheet-block-chance-pj-4,
@@ -44569,6 +44581,7 @@ button[type="action"].sheet-tmr-case-chrome:active{
.sheet-coche-chance-pj-3:checked ~ .sheet-block-chance-pj-6,
.sheet-coche-chance-pj-3:checked ~ .sheet-block-chance-pj-7,
+.sheet-coche-chance-pj-4:checked ~ .sheet-block-chance-pj-0,
.sheet-coche-chance-pj-4:checked ~ .sheet-block-chance-pj-1,
.sheet-coche-chance-pj-4:checked ~ .sheet-block-chance-pj-2,
.sheet-coche-chance-pj-4:checked ~ .sheet-block-chance-pj-3,
@@ -44576,6 +44589,7 @@ button[type="action"].sheet-tmr-case-chrome:active{
.sheet-coche-chance-pj-4:checked ~ .sheet-block-chance-pj-6,
.sheet-coche-chance-pj-4:checked ~ .sheet-block-chance-pj-7,
+.sheet-coche-chance-pj-5:checked ~ .sheet-block-chance-pj-0,
.sheet-coche-chance-pj-5:checked ~ .sheet-block-chance-pj-1,
.sheet-coche-chance-pj-5:checked ~ .sheet-block-chance-pj-2,
.sheet-coche-chance-pj-5:checked ~ .sheet-block-chance-pj-3,
@@ -44583,6 +44597,7 @@ button[type="action"].sheet-tmr-case-chrome:active{
.sheet-coche-chance-pj-5:checked ~ .sheet-block-chance-pj-6,
.sheet-coche-chance-pj-5:checked ~ .sheet-block-chance-pj-7,
+.sheet-coche-chance-pj-6:checked ~ .sheet-block-chance-pj-0,
.sheet-coche-chance-pj-6:checked ~ .sheet-block-chance-pj-1,
.sheet-coche-chance-pj-6:checked ~ .sheet-block-chance-pj-2,
.sheet-coche-chance-pj-6:checked ~ .sheet-block-chance-pj-3,
@@ -44590,6 +44605,7 @@ button[type="action"].sheet-tmr-case-chrome:active{
.sheet-coche-chance-pj-6:checked ~ .sheet-block-chance-pj-5,
.sheet-coche-chance-pj-6:checked ~ .sheet-block-chance-pj-7,
+.sheet-coche-chance-pj-7:checked ~ .sheet-block-chance-pj-0,
.sheet-coche-chance-pj-7:checked ~ .sheet-block-chance-pj-1,
.sheet-coche-chance-pj-7:checked ~ .sheet-block-chance-pj-2,
.sheet-coche-chance-pj-7:checked ~ .sheet-block-chance-pj-3,
diff --git a/Reve de Dragon - 2021 - (FR)/RDD2021FR.html b/Reve de Dragon - 2021 - (FR)/RDD2021FR.html
index 60e2c43f0b..9cee27861b 100644
--- a/Reve de Dragon - 2021 - (FR)/RDD2021FR.html
+++ b/Reve de Dragon - 2021 - (FR)/RDD2021FR.html
@@ -367,7 +367,7 @@
Yeux
- Beauté
+ Beauté
@@ -376,8 +376,8 @@
- Vie
- End.
+ Vie
+ End.
Seuil Const.
@@ -442,7 +442,7 @@
@@ -537,50 +537,51 @@
TAI
-
+
VOL
-
+
APP
-
+
INT
-
+
CON
-
+
EMP
-
+
FOR
-
+
REV
-
+
AGI
-
+
+
@@ -589,30 +590,34 @@
+
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
CHA
-
+
@@ -620,7 +625,7 @@
DEX
-
+
@@ -630,7 +635,7 @@
VUE
-
+
@@ -640,7 +645,7 @@
OUI
-
+
@@ -650,7 +655,7 @@
ODO
-
+
@@ -827,122 +832,122 @@
-
+
Bricolage
-
+
Charpenterie
-
+
Acrobatie
-
+
Alchimie
-
+
Chant
-
+
Comédie
-
+
Chirurgie
-
+
Astrologie
-
+
Course
-
+
Commerce
-
+
Jeu
-
+
Botanique
-
+
Cuisine
-
+
Equitation
-
+
Jonglerie
-
+
Ecriture
-
+
Danse
-
+
Maçonnerie
-
+
Maroquin.
-
+
Légendes
-
+
Dessin
-
+
Musique
@@ -984,134 +989,134 @@
-
+
Métallurgie
-
+
Médecine
-
+
Discrétion
-
+
Pickpocket
-
+
Natation
-
+
Zoologie
-
+
Escalade
-
+
Srv Cité
-
+
Navigation
-
+
-
+
Saut
-
+
Srv Extérieur
-
+
Orfèvrerie
-
+
-
+
Séduction
-
+
Srv Désert
-
+
Serrurerie
-
+
-
+
Vigilance
-
+
Srv Forêt
-
+
-
+
-
+
Srv Glaces
-
+
@@ -1122,34 +1127,34 @@
-
+
-
+
Srv Marais
-
+
-
+
-
+
Srv Montagne
-
+
@@ -1159,34 +1164,34 @@
-
+
-
+
Srv Sous-sol
-
+
-
+
-
+
Travestiss.
-
+
@@ -1196,17 +1201,17 @@
-
+
-
+
-
+
@@ -1240,122 +1245,122 @@
-
+
Bricolage
-
+
Charpenterie
-
+
Acrobatie
-
+
Alchimie
-
+
Chant
-
+
Comédie
-
+
Chirurgie
-
+
Astrologie
-
+
Course
-
+
Commerce
-
+
Jeu
-
+
Botanique
-
+
Cuisine
-
+
Equitation
-
+
Jonglerie
-
+
Ecriture
-
+
Danse
-
+
Maçonnerie
-
+
Maroquin.
-
+
Légendes
-
+
Dessin
-
+
Musique
@@ -1397,134 +1402,134 @@
-
+
Métallurgie
-
+
Médecine
-
+
Discrétion
-
+
Pickpocket
-
+
Natation
-
+
Zoologie
-
+
Escalade
-
+
Srv Cité
-
+
Navigation
-
+
-
+
Saut
-
+
Srv Extérieur
-
+
Orfèvrerie
-
+
-
+
Séduction
-
+
Srv Désert
-
+
Serrurerie
-
+
-
+
Vigilance
-
+
Srv Forêt
-
+
-
+
-
+
Srv Glaces
-
+
@@ -1535,34 +1540,34 @@
-
+
-
+
Srv Marais
-
+
-
+
-
+
Srv Montagne
-
+
@@ -1572,34 +1577,34 @@
-
+
-
+
Srv Sous-sol
-
+
-
+
-
+
Travestiss.
-
+
@@ -1609,17 +1614,17 @@
-
+
-
+
-
+
@@ -1653,122 +1658,122 @@
-
+
Bricolage
-
+
Charpenterie
-
+
Acrobatie
-
+
Alchimie
-
+
Chant
-
+
Comédie
-
+
Chirurgie
-
+
Astrologie
-
+
Course
-
+
Commerce
-
+
Jeu
-
+
Botanique
-
+
Cuisine
-
+
Equitation
-
+
Jonglerie
-
+
Ecriture
-
+
Danse
-
+
Maçonnerie
-
+
Maroquin.
-
+
Légendes
-
+
Dessin
-
+
Musique
@@ -1810,134 +1815,134 @@
-
+
Métallurgie
-
+
Médecine
-
+
Discrétion
-
+
Pickpocket
-
+
Natation
-
+
Zoologie
-
+
Escalade
-
+
Srv Cité
-
+
Navigation
-
+
-
+
Saut
-
+
Srv Extérieur
-
+
Orfèvrerie
-
+
-
+
Séduction
-
+
Srv Désert
-
+
Serrurerie
-
+
-
+
Vigilance
-
+
Srv Forêt
-
+
-
+
-
+
Srv Glaces
-
+
@@ -1948,34 +1953,34 @@
-
+
-
+
Srv Marais
-
+
-
+
-
+
Srv Montagne
-
+
@@ -1985,34 +1990,34 @@
-
+
-
+
Srv Sous-sol
-
+
-
+
-
+
Travestiss.
-
+
@@ -2022,17 +2027,17 @@
-
+
-
+
-
+
@@ -2066,122 +2071,122 @@
-
+
Bricolage
-
+
Charpenterie
-
+
Acrobatie
-
+
Alchimie
-
+
Chant
-
+
Comédie
-
+
Chirurgie
-
+
Astrologie
-
+
Course
-
+
Commerce
-
+
Jeu
-
+
Botanique
-
+
Cuisine
-
+
Equitation
-
+
Jonglerie
-
+
Ecriture
-
+
Danse
-
+
Maçonnerie
-
+
Maroquin.
-
+
Légendes
-
+
Dessin
-
+
Musique
@@ -2223,134 +2228,134 @@
-
+
Métallurgie
-
+
Médecine
-
+
Discrétion
-
+
Pickpocket
-
+
Natation
-
+
Zoologie
-
+
Escalade
-
+
Srv Cité
-
+
Navigation
-
+
-
+
Saut
-
+
Srv Extérieur
-
+
Orfèvrerie
-
+
-
+
Séduction
-
+
Srv Désert
-
+
Serrurerie
-
+
-
+
Vigilance
-
+
Srv Forêt
-
+
-
+
-
+
Srv Glaces
-
+
@@ -2361,34 +2366,34 @@
-
+
-
+
Srv Marais
-
+
-
+
-
+
Srv Montagne
-
+
@@ -2398,34 +2403,34 @@
-
+
-
+
Srv Sous-sol
-
+
-
+
-
+
Travestiss.
-
+
@@ -2435,17 +2440,17 @@
-
+
-
+
-
+
@@ -2479,122 +2484,122 @@
-
+
Bricolage
-
+
Charpenterie
-
+
Acrobatie
-
+
Alchimie
-
+
Chant
-
+
Comédie
-
+
Chirurgie
-
+
Astrologie
-
+
Course
-
+
Commerce
-
+
Jeu
-
+
Botanique
-
+
Cuisine
-
+
Equitation
-
+
Jonglerie
-
+
Ecriture
-
+
Danse
-
+
Maçonnerie
-
+
Maroquin.
-
+
Légendes
-
+
Dessin
-
+
Musique
@@ -2636,134 +2641,134 @@
-
+
Métallurgie
-
+
Médecine
-
+
Discrétion
-
+
Pickpocket
-
+
Natation
-
+
Zoologie
-
+
Escalade
-
+
Srv Cité
-
+
Navigation
-
+
-
+
Saut
-
+
Srv Extérieur
-
+
Orfèvrerie
-
+
-
+
Séduction
-
+
Srv Désert
-
+
Serrurerie
-
+
-
+
Vigilance
-
+
Srv Forêt
-
+
-
+
-
+
Srv Glaces
-
+
@@ -2774,34 +2779,34 @@
-
+
-
+
Srv Marais
-
+
-
+
-
+
Srv Montagne
-
+
@@ -2811,34 +2816,34 @@
-
+
-
+
Srv Sous-sol
-
+
-
+
-
+
Travestiss.
-
+
@@ -2848,17 +2853,17 @@
-
+
-
+
-
+
@@ -2892,122 +2897,122 @@
-
+
Bricolage
-
+
Charpenterie
-
+
Acrobatie
-
+
Alchimie
-
+
Chant
-
+
Comédie
-
+
Chirurgie
-
+
Astrologie
-
+
Course
-
+
Commerce
-
+
Jeu
-
+
Botanique
-
+
Cuisine
-
+
Equitation
-
+
Jonglerie
-
+
Ecriture
-
+
Danse
-
+
Maçonnerie
-
+
Maroquin.
-
+
Légendes
-
+
Dessin
-
+
Musique
@@ -3049,134 +3054,134 @@
-
+
Métallurgie
-
+
Médecine
-
+
Discrétion
-
+
Pickpocket
-
+
Natation
-
+
Zoologie
-
+
Escalade
-
+
Srv Cité
-
+
Navigation
-
+
-
+
Saut
-
+
Srv Extérieur
-
+
Orfèvrerie
-
+
-
+
Séduction
-
+
Srv Désert
-
+
Serrurerie
-
+
-
+
Vigilance
-
+
Srv Forêt
-
+
-
+
-
+
Srv Glaces
-
+
@@ -3187,34 +3192,34 @@
-
+
-
+
Srv Marais
-
+
-
+
-
+
Srv Montagne
-
+
@@ -3224,34 +3229,34 @@
-
+
-
+
Srv Sous-sol
-
+
-
+
-
+
Travestiss.
-
+
@@ -3261,17 +3266,17 @@
-
+
-
+
-
+
@@ -3305,122 +3310,122 @@
-
+
Bricolage
-
+
Charpenterie
-
+
Acrobatie
-
+
Alchimie
-
+
Chant
-
+
Comédie
-
+
Chirurgie
-
+
Astrologie
-
+
Course
-
+
Commerce
-
+
Jeu
-
+
Botanique
-
+
Cuisine
-
+
Equitation
-
+
Jonglerie
-
+
Ecriture
-
+
Danse
-
+
Maçonnerie
-
+
Maroquin.
-
+
Légendes
-
+
Dessin
-
+
Musique
@@ -3462,134 +3467,134 @@
-
+
Métallurgie
-
+
Médecine
-
+
Discrétion
-
+
Pickpocket
-
+
Natation
-
+
Zoologie
-
+
Escalade
-
+
Srv Cité
-
+
Navigation
-
+
-
+
Saut
-
+
Srv Extérieur
-
+
Orfèvrerie
-
+
-
+
Séduction
-
+
Srv Désert
-
+
Serrurerie
-
+
-
+
Vigilance
-
+
Srv Forêt
-
+
-
+
-
+
Srv Glaces
-
+
@@ -3600,34 +3605,34 @@
-
+
-
+
Srv Marais
-
+
-
+
-
+
Srv Montagne
-
+
@@ -3637,34 +3642,34 @@
-
+
-
+
Srv Sous-sol
-
+
-
+
-
+
Travestiss.
-
+
@@ -3674,17 +3679,17 @@
-
+
-
+
-
+
@@ -3718,122 +3723,122 @@
-
+
Bricolage
-
+
Charpenterie
-
+
Acrobatie
-
+
Alchimie
-
+
Chant
-
+
Comédie
-
+
Chirurgie
-
+
Astrologie
-
+
Course
-
+
Commerce
-
+
Jeu
-
+
Botanique
-
+
Cuisine
-
+
Equitation
-
+
Jonglerie
-
+
Ecriture
-
+
Danse
-
+
Maçonnerie
-
+
Maroquin.
-
+
Légendes
-
+
Dessin
-
+
Musique
@@ -3875,134 +3880,134 @@
-
+
Métallurgie
-
+
Médecine
-
+
Discrétion
-
+
Pickpocket
-
+
Natation
-
+
Zoologie
-
+
Escalade
-
+
Srv Cité
-
+
Navigation
-
+
-
+
Saut
-
+
Srv Extérieur
-
+
Orfèvrerie
-
+
-
+
Séduction
-
+
Srv Désert
-
+
Serrurerie
-
+
-
+
Vigilance
-
+
Srv Forêt
-
+
-
+
-
+
Srv Glaces
-
+
@@ -4013,34 +4018,34 @@
-
+
-
+
Srv Marais
-
+
-
+
-
+
Srv Montagne
-
+
@@ -4050,34 +4055,34 @@
-
+
-
+
Srv Sous-sol
-
+
-
+
-
+
Travestiss.
-
+
@@ -4087,17 +4092,17 @@
-
+
-
+
-
+
@@ -4339,9 +4344,9 @@
.
-
+
/
-
+
@@ -4352,9 +4357,9 @@
( )
.
-
+
/
-
+
@@ -4374,7 +4379,7 @@
-
+
.
/
@@ -7194,6 +7199,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -7224,6 +7233,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -7270,13 +7283,6 @@
@@ -7300,6 +7306,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -7330,6 +7340,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -7375,13 +7389,6 @@
@@ -7405,6 +7412,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -7435,6 +7446,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -7480,13 +7495,6 @@
@@ -7510,6 +7518,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -7540,6 +7552,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -7585,13 +7601,6 @@
@@ -7615,6 +7624,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -7645,6 +7658,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -7691,13 +7708,6 @@
@@ -7721,6 +7731,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -7751,6 +7765,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -7797,13 +7815,6 @@
@@ -7860,6 +7871,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -7891,6 +7906,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -8246,6 +8265,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -8277,6 +8300,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -8647,6 +8674,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -8677,6 +8708,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -8723,13 +8758,6 @@
@@ -8753,6 +8781,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -8783,6 +8815,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -8829,13 +8865,6 @@
@@ -8860,6 +8889,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -8890,6 +8923,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -8936,13 +8973,6 @@
@@ -8967,6 +8997,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -8997,6 +9031,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -9043,18 +9081,11 @@
-
+
@@ -9074,6 +9105,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -9104,6 +9139,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -9150,13 +9189,6 @@
@@ -9181,6 +9213,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -9211,6 +9247,10 @@
Sur monture
Sur charrette
A l'auberge
+ Sur le bateau
+ Confié
+ Egaré
+ Volé
@@ -9257,13 +9297,6 @@
@@ -9276,6 +9309,93 @@
+
+
-
@@ -9307,6 +9426,10 @@
Sur monture
Sur charrette
A l'auberge
+
Sur le bateau
+
Confié
+
Egaré
+
Volé
@@ -9403,6 +9526,10 @@
Sur monture
Sur charrette
A l'auberge
+
Sur le bateau
+
Confié
+
Egaré
+
Volé
@@ -9477,6 +9604,10 @@
Sur monture
Sur charrette
A l'auberge
+
Sur le bateau
+
Confié
+
Egaré
+
Volé
@@ -11808,7 +11939,7 @@
.
-
+
@@ -12108,14 +12239,14 @@
Prédictions
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
@@ -12287,13 +12418,13 @@
-
+
-
-
-
+
+
+
-
+
.
Nom
@@ -18459,25 +18590,38 @@
{{name}}
- {{#rollGreater() attribut 0}}
- {{#rollGreater() difficulte 0}}
- {{attribut_nom}} {{attribut}} à +{{difficulte}}
- {{/rollGreater() difficulte 0}}
-
- {{#^rollGreater() difficulte 0}}
- {{attribut_nom}} {{attribut}} à {{difficulte}}
- {{/^rollGreater() difficulte 0}}
- {{/rollGreater() attribut 0}}
-
- {{#rollTotal() attribut -99}}
- {{#rollGreater() difficulte 0}}
- {{attribut_nom}} {{intellect_val}} à +{{difficulte}}
- {{/rollGreater() difficulte 0}}
-
- {{#^rollGreater() difficulte 0}}
- {{attribut_nom}} {{intellect_val}} à {{difficulte}}
- {{/^rollGreater() difficulte 0}}
- {{/rollTotal() attribut -99}}
+ {{#rollGreater() ref_joueur 0}}
+ {{#rollTotal() carac_cha 1}}
+ {{#rollGreater() difficulte 0}}
+ {{attribut_nom}} {{attribut}} à ???
+ {{/rollGreater() difficulte 0}}
+
+ {{#^rollGreater() difficulte 0}}
+ {{attribut_nom}} {{attribut}} à ???
+ {{/^rollGreater() difficulte 0}}
+ {{/rollTotal() carac_cha 1}}
+
+ {{#rollTotal() carac_cha 0}}
+ {{#rollGreater() difficulte 0}}
+ {{attribut_nom}} {{attribut}} à +{{difficulte}}
+ {{/rollGreater() difficulte 0}}
+
+ {{#^rollGreater() difficulte 0}}
+ {{attribut_nom}} {{attribut}} à {{difficulte}}
+ {{/^rollGreater() difficulte 0}}
+ {{/rollTotal() carac_cha 0}}
+
+ {{/rollGreater() ref_joueur 0}}
+
+ {{#rollTotal() ref_joueur 0}}
+ {{#rollGreater() difficulte 0}}
+ {{attribut_nom}} {{attribut}} à +{{difficulte}}
+ {{/rollGreater() difficulte 0}}
+
+ {{#^rollGreater() difficulte 0}}
+ {{attribut_nom}} {{attribut}} à {{difficulte}}
+ {{/^rollGreater() difficulte 0}}
+ {{/rollTotal() ref_joueur 0}}
@@ -18800,6 +18944,7 @@
{{#rollGreater() difficulte -8}}
+
{{#rollGreater() Roll cible_int}}
{{#^rollGreater() cible_int 100}}
{{#^rollLess() Roll echec_tot_int}}
@@ -19953,9 +20098,13 @@
{{name}}
-
+ {{#rollGreater() ref_joueur 0}}
{{carac}} {{attribut}} à ???
-
+ {{/rollGreater() ref_joueur 0}}
+
+ {{#rollTotal() ref_joueur 0}}
+ {{carac}} {{attribut}} à {{difficulte}}
+ {{/rollTotal() ref_joueur 0}}
@@ -19968,6 +20117,57 @@
{{/Roll}}
+ {{#rollTotal() ref_joueur 0}}
+ {{#rollGreater() difficulte -8}}
+ {{#rollGreater() Roll cible_pj_0}}
+
+ {{#^rollLess() Roll echec_tot_pj_0}}
+ Échec Total
+ {{/^rollLess() Roll echec_tot_pj_0}}
+
+ {{#rollLess() Roll echec_tot_pj_0}}
+ {{#rollLess() Roll echec_part_pj_0}}
+ Échec
+ {{/rollLess() Roll echec_part_pj_0}}
+ {{#^rollLess() Roll echec_part_pj_0}}
+ Échec Particulier
+ {{/^rollLess() Roll echec_part_pj_0}}
+ {{/rollLess() Roll echec_tot_pj_0}}
+
+ {{/rollGreater() Roll cible_pj_0}}
+
+ {{#^rollGreater() Roll cible_pj_0}}
+ {{#rollLess() difficulte_pj_0 -1}}
+ {{#^rollGreater() Roll reussite_par_pj_0}}
+ Particulière
+ {{/^rollGreater() Roll reussite_par_pj_0}}
+ {{/rollLess() difficulte_pj_0 -1}}
+
+ {{#rollGreater() difficulte_pj_0 -1}}
+ {{#^rollGreater() Roll reussite_par_pj_0}}
+ Particulière
+ {{/^rollGreater() Roll reussite_par_pj_0}}
+ {{/rollGreater() difficulte_pj_0 -1}}
+
+ {{#rollTotal() difficulte_pj_0 -1}}
+ {{#^rollGreater() Roll reussite_par_pj_0}}
+ Particulière
+ {{/^rollGreater() Roll reussite_par_pj_0}}
+ {{/rollTotal() difficulte_pj_0 -1}}
+
+ {{#rollGreater() Roll reussite_par_pj_0}}
+ {{#rollGreater() Roll signif_pj_0}}
+ Normale
+ {{/rollGreater() Roll signif_pj_0}}
+ {{#^rollGreater() Roll signif_pj_0}}
+ Significative
+ {{/^rollGreater() Roll signif_pj_0}}
+ {{/rollGreater() Roll reussite_par_pj_0}}
+ Points de chance -1
+ {{/^rollGreater() Roll cible_pj_0}}
+ {{/rollGreater() difficulte -8}}
+ {{/rollTotal() ref_joueur 0}}
+
{{#rollTotal() ref_joueur 1}}
{{#rollGreater() difficulte_pj_1 -8}}
{{#rollGreater() Roll cible_pj_1}}
@@ -20346,15 +20546,40 @@
{{name}}
-
- {{#rollGreater() difficulte 0}}
- {{attribut_nom}} {{attribut}} à +{{difficulte}}
- {{/rollGreater() difficulte 0}}
-
- {{#^rollGreater() difficulte 0}}
- {{attribut_nom}} {{attribut}} à {{difficulte}}
- {{/^rollGreater() difficulte 0}}
-
+
+ {{#rollGreater() ref_joueur 0}}
+ {{#rollTotal() carac_cha 1}}
+ {{#rollGreater() difficulte 0}}
+ {{attribut_nom}} {{attribut}} à ???
+ {{/rollGreater() difficulte 0}}
+
+ {{#^rollGreater() difficulte 0}}
+ {{attribut_nom}} {{attribut}} à ???
+ {{/^rollGreater() difficulte 0}}
+ {{/rollTotal() carac_cha 1}}
+
+ {{#rollTotal() carac_cha 0}}
+ {{#rollGreater() difficulte 0}}
+ {{attribut_nom}} {{attribut}} à +{{difficulte}}
+ {{/rollGreater() difficulte 0}}
+
+ {{#^rollGreater() difficulte 0}}
+ {{attribut_nom}} {{attribut}} à {{difficulte}}
+ {{/^rollGreater() difficulte 0}}
+ {{/rollTotal() carac_cha 0}}
+
+ {{/rollGreater() ref_joueur 0}}
+
+ {{#rollTotal() ref_joueur 0}}
+ {{#rollGreater() difficulte 0}}
+ {{attribut_nom}} {{attribut}} à +{{difficulte}}
+ {{/rollGreater() difficulte 0}}
+
+ {{#^rollGreater() difficulte 0}}
+ {{attribut_nom}} {{attribut}} à {{difficulte}}
+ {{/^rollGreater() difficulte 0}}
+ {{/rollTotal() ref_joueur 0}}
+
@@ -22056,35 +22281,35 @@
{{/rollGreater() Roll cible}}
{{#rollTotal() Roll cible}}
- Normale
+ Normale
{{/rollTotal() Roll cible}}
{{#rollLess() Roll cible}}
{{#rollGreater() difficulte -1}}
{{#^rollGreater() Roll reussite_par}}
- Particulière
+ Particulière
{{/^rollGreater() Roll reussite_par}}
{{/rollGreater() difficulte -1}}
{{#rollLess() difficulte -1}}
{{#^rollGreater() Roll reussite_par}}
- Particulière
+ Particulière
Constitution +{{exp_carac}}EXP
{{/^rollGreater() Roll reussite_par}}
{{/rollLess() difficulte -1}}
{{#rollTotal() difficulte -1}}
{{#^rollGreater() Roll reussite_par}}
- Particulière
+ Particulière
{{/^rollGreater() Roll reussite_par}}
{{/rollTotal() difficulte -1}}
{{#rollGreater() Roll reussite_par}}
{{#rollGreater() Roll signif}}
- Normale
+ Normale
{{/rollGreater() Roll signif}}
{{#^rollGreater() Roll signif}}
- Significative
+ Significative
{{/^rollGreater() Roll signif}}
{{/rollGreater() Roll reussite_par}}
@@ -22112,23 +22337,23 @@
{{/rollGreater() Roll cible_2}}
{{#rollTotal() Roll cible_2}}
- Normale
+ Normale
{{/rollTotal() Roll cible_2}}
{{#rollLess() Roll cible_2}}
{{#^rollGreater() Roll reussite_par_2}}
- Particulière
+ Particulière
Constitution +{{exp_carac}}EXP
{{/^rollGreater() Roll reussite_par_2}}
{{#rollGreater() Roll reussite_par_2}}
{{#rollGreater() Roll signif_2}}
- Normale
+ Normale
PV +1
{{/rollGreater() Roll signif_2}}
{{#^rollGreater() Roll signif_2}}
- Significative
+ Significative
{{/^rollGreater() Roll signif_2}}
{{/rollGreater() Roll reussite_par_2}}
{{/rollLess() Roll cible_2}}
@@ -22156,21 +22381,21 @@
{{/rollGreater() Roll cible_3}}
{{#rollTotal() Roll cible_3}}
- Normale
+ Normale
{{/rollTotal() Roll cible_3}}
{{#rollLess() Roll cible_3}}
{{#^rollGreater() Roll reussite_par_3}}
- Particulière
+ Particulière
Constitution +{{exp_carac}}EXP
{{/^rollGreater() Roll reussite_par_3}}
{{#rollGreater() Roll reussite_par_3}}
{{#rollGreater() Roll signif_3}}
- Normale
+ Normale
{{/rollGreater() Roll signif_3}}
{{#^rollGreater() Roll signif_3}}
- Significative
+ Significative
{{/^rollGreater() Roll signif_3}}
{{/rollGreater() Roll reussite_par_3}}
@@ -22198,21 +22423,21 @@
{{/rollGreater() Roll cible_4}}
{{#rollTotal() Roll cible_4}}
- Normale
+ Normale
{{/rollTotal() Roll cible_4}}
{{#rollLess() Roll cible_4}}
{{#^rollGreater() Roll reussite_par_4}}
- Particulière
+ Particulière
Constitution +{{exp_carac}}EXP
{{/^rollGreater() Roll reussite_par_4}}
{{#rollGreater() Roll reussite_par_4}}
{{#rollGreater() Roll signif_4}}
- Normale
+ Normale
{{/rollGreater() Roll signif_4}}
{{#^rollGreater() Roll signif_4}}
- Significative
+ Significative
{{/^rollGreater() Roll signif_4}}
{{/rollGreater() Roll reussite_par_4}}
{{/rollLess() Roll cible_4}}
@@ -22234,7 +22459,7 @@
{{/rollGreater() Roll 1}}
{{#rollTotal() Roll 1}}
- Normale
+ Normale
{{/rollTotal() Roll 1}}
{{/rollBetween() difficulte -16 -11}}
@@ -30046,11 +30271,22 @@
{{name}}
-
{{#rollTotal() code_carac 13}}
- {{attribut}} à ???
- {{/rollTotal() code_carac 13}}
-
+ {{#rollGreater() ref_joueur 0}}
+ {{attribut}} à ???
+ {{/rollGreater() ref_joueur 0}}
+
+ {{#rollTotal() ref_joueur 0}}
+ {{#rollGreater() difficulte 0}}
+ {{attribut}} à +{{difficulte}}
+ {{/rollGreater() difficulte 0}}
+
+ {{#^rollGreater() difficulte 0}}
+ {{attribut}} à {{difficulte}}
+ {{/^rollGreater() difficulte 0}}
+ {{/rollTotal() ref_joueur 0}}
+ {{/rollTotal() code_carac 13}}
+
{{#rollTotal() heroisme 0}}
{{#rollLess() code_carac 13}}
{{#rollGreater() difficulte 0}}
@@ -31859,7 +32095,7 @@
-
+
@@ -78615,10 +78851,10 @@ on("change:opt_navigateur change:repeating_ent:nomEnm", function()
var objet = " objet";
var poids = " ne pesant pas grand chose";
var valeur =" sans valeur particulière";
+ var kilo = Math.round(values.sacgaucheenc1*200)/100;
- if (values.sacgaucheenc1>=0.5)
+ if (values.sacgaucheenc1>=0.5)
{
- var kilo = Math.round(values.sacgaucheenc1*200)/100;
poids = " pesant " + kilo + " kg";
}
@@ -78761,10 +78997,10 @@ on("change:opt_navigateur change:repeating_ent:nomEnm", function()
var objet = " objet";
var poids = " ne pesant pas grand chose";
var valeur =" sans valeur particulière";
+ var kilo = Math.round(values.sacgaucheenc2*200)/100;
if (values.sacgaucheenc2>=0.5)
{
- var kilo = Math.round(values.sacgaucheenc2*200)/100;
poids = " pesant " + kilo + " kg";
}
@@ -78908,14 +79144,14 @@ on("change:opt_navigateur change:repeating_ent:nomEnm", function()
var objet = " objet";
var poids = " ne pesant pas grand chose";
var valeur =" sans valeur particulière";
+ var kilo = Math.round(values.sacgaucheenc3*200)/100;
if (values.sacgaucheenc3>=0.5)
{
- var kilo = Math.round(values.sacgaucheenc3*200)/100;
poids = " pesant " + kilo + " kg";
}
- if (values.sacgauchetextrich3!="")
+ if (values.sacgauchetextrich3!="")
{
valeur = " pour une valeur totale de " + values.sacgauchetextrich3;
}
@@ -79055,14 +79291,14 @@ on("change:opt_navigateur change:repeating_ent:nomEnm", function()
var objet = " objet";
var poids = " ne pesant pas grand chose";
var valeur =" sans valeur particulière";
+ var kilo = Math.round(values.sacgaucheenc4*200)/100;
if (values.sacgaucheenc4>=0.5)
{
- var kilo = Math.round(values.sacgaucheenc4*200)/100;
poids = " pesant " + kilo + " kg";
}
- if (values.sacgauchetextrich4!="")
+ if (values.sacgauchetextrich4!="")
{
valeur = " pour une valeur totale de " + values.sacgauchetextrich4;
}
@@ -79202,10 +79438,10 @@ on("change:opt_navigateur change:repeating_ent:nomEnm", function()
var objet = " objet";
var poids = " ne pesant pas grand chose";
var valeur =" sans valeur particulière";
+ var kilo = Math.round(values.saccentreenc1*200)/100;
if (values.saccentreenc1>=0.5)
{
- var kilo = Math.round(values.saccentreenc1*200)/100;
poids = " pesant " + kilo + " kg";
}
@@ -79348,10 +79584,10 @@ on("change:opt_navigateur change:repeating_ent:nomEnm", function()
var objet = " objet";
var poids = " ne pesant pas grand chose";
var valeur =" sans valeur particulière";
+ var kilo = Math.round(values.saccentreenc2*200)/100;
if (values.saccentreenc2>=0.5)
{
- var kilo = Math.round(values.saccentreenc2*200)/100;
poids = " pesant " + kilo + " kg";
}
@@ -79494,10 +79730,10 @@ on("change:opt_navigateur change:repeating_ent:nomEnm", function()
var objet = " objet";
var poids = " ne pesant pas grand chose";
var valeur =" sans valeur particulière";
+ var kilo = Math.round(values.saccentreenc3*200)/100;
if (values.saccentreenc3>=0.5)
{
- var kilo = Math.round(values.saccentreenc3*200)/100;
poids = " pesant " + kilo + " kg";
}
@@ -79640,10 +79876,10 @@ on("change:opt_navigateur change:repeating_ent:nomEnm", function()
var objet = " objet";
var poids = " ne pesant pas grand chose";
var valeur =" sans valeur particulière";
+ var kilo = Math.round(values.saccentreenc4*200)/100;
if (values.saccentreenc4>=0.5)
{
- var kilo = Math.round(values.saccentreenc4*200)/100;
poids = " pesant " + kilo + " kg";
}
@@ -79786,10 +80022,10 @@ on("change:opt_navigateur change:repeating_ent:nomEnm", function()
var objet = " objet";
var poids = " ne pesant pas grand chose";
var valeur =" sans valeur particulière";
+ var kilo = Math.round(values.sacdroiteenc1*200)/100;
if (values.sacdroiteenc1>=0.5)
{
- var kilo = Math.round(values.sacdroiteenc1*200)/100;
poids = " pesant " + kilo + " kg";
}
@@ -79932,10 +80168,10 @@ on("change:opt_navigateur change:repeating_ent:nomEnm", function()
var objet = " objet";
var poids = " ne pesant pas grand chose";
var valeur =" sans valeur particulière";
+ var kilo = Math.round(values.sacdroiteenc2*200)/100;
if (values.sacdroiteenc2>=0.5)
{
- var kilo = Math.round(values.sacdroiteenc2*200)/100;
poids = " pesant " + kilo + " kg";
}
@@ -80078,10 +80314,10 @@ on("change:opt_navigateur change:repeating_ent:nomEnm", function()
var objet = " objet";
var poids = " ne pesant pas grand chose";
var valeur =" sans valeur particulière";
+ var kilo = Math.round(values.sacdroiteenc3*200)/100;
if (values.sacdroiteenc3>=0.5)
{
- var kilo = Math.round(values.sacdroiteenc3*200)/100;
poids = " pesant " + kilo + " kg";
}
@@ -80224,10 +80460,10 @@ on("change:opt_navigateur change:repeating_ent:nomEnm", function()
var objet = " objet";
var poids = " ne pesant pas grand chose";
var valeur =" sans valeur particulière";
+ var kilo = Math.round(values.sacdroiteenc4*200)/100;
if (values.sacdroiteenc4>=0.5)
{
- var kilo = Math.round(values.sacdroiteenc4*200)/100;
poids = " pesant " + kilo + " kg";
}
@@ -80829,33 +81065,37 @@ on("change:opt_navigateur change:repeating_ent:nomEnm", function()
{
getAttrs(["pj_ref"], function(values)
{
- if (values.pj_ref<=1)
+ if (values.pj_ref==0)
{
- setAttrs({"montrer_chance_pj_1":1, "montrer_chance_pj_2":0, "montrer_chance_pj_3":0, "montrer_chance_pj_4":0, "montrer_chance_pj_5":0, "montrer_chance_pj_6":0, "montrer_chance_pj_7":0});
+ setAttrs({"montrer_chance_pj_0":1, "montrer_chance_pj_1":0, "montrer_chance_pj_2":0, "montrer_chance_pj_3":0, "montrer_chance_pj_4":0, "montrer_chance_pj_5":0, "montrer_chance_pj_6":0, "montrer_chance_pj_7":0});
+ }
+ else if (values.pj_ref==1)
+ {
+ setAttrs({"montrer_chance_pj_0":0, "montrer_chance_pj_1":1, "montrer_chance_pj_2":0, "montrer_chance_pj_3":0, "montrer_chance_pj_4":0, "montrer_chance_pj_5":0, "montrer_chance_pj_6":0, "montrer_chance_pj_7":0});
}
else if (values.pj_ref==2)
{
- setAttrs({"montrer_chance_pj_1":0, "montrer_chance_pj_2":1, "montrer_chance_pj_3":0, "montrer_chance_pj_4":0, "montrer_chance_pj_5":0, "montrer_chance_pj_6":0, "montrer_chance_pj_7":0});
+ setAttrs({"montrer_chance_pj_0":0, "montrer_chance_pj_1":0, "montrer_chance_pj_2":1, "montrer_chance_pj_3":0, "montrer_chance_pj_4":0, "montrer_chance_pj_5":0, "montrer_chance_pj_6":0, "montrer_chance_pj_7":0});
}
else if (values.pj_ref==3)
{
- setAttrs({"montrer_chance_pj_1":0, "montrer_chance_pj_2":0, "montrer_chance_pj_3":1, "montrer_chance_pj_4":0, "montrer_chance_pj_5":0, "montrer_chance_pj_6":0, "montrer_chance_pj_7":0});
+ setAttrs({"montrer_chance_pj_0":0, "montrer_chance_pj_1":0, "montrer_chance_pj_2":0, "montrer_chance_pj_3":1, "montrer_chance_pj_4":0, "montrer_chance_pj_5":0, "montrer_chance_pj_6":0, "montrer_chance_pj_7":0});
}
else if (values.pj_ref==4)
{
- setAttrs({"montrer_chance_pj_1":0, "montrer_chance_pj_2":0, "montrer_chance_pj_3":0, "montrer_chance_pj_4":1, "montrer_chance_pj_5":0, "montrer_chance_pj_6":0, "montrer_chance_pj_7":0});
+ setAttrs({"montrer_chance_pj_0":0, "montrer_chance_pj_1":0, "montrer_chance_pj_2":0, "montrer_chance_pj_3":0, "montrer_chance_pj_4":1, "montrer_chance_pj_5":0, "montrer_chance_pj_6":0, "montrer_chance_pj_7":0});
}
else if (values.pj_ref==5)
{
- setAttrs({"montrer_chance_pj_1":0, "montrer_chance_pj_2":0, "montrer_chance_pj_3":0, "montrer_chance_pj_4":0, "montrer_chance_pj_5":1, "montrer_chance_pj_6":0, "montrer_chance_pj_7":0});
+ setAttrs({"montrer_chance_pj_0":0, "montrer_chance_pj_1":0, "montrer_chance_pj_2":0, "montrer_chance_pj_3":0, "montrer_chance_pj_4":0, "montrer_chance_pj_5":1, "montrer_chance_pj_6":0, "montrer_chance_pj_7":0});
}
else if (values.pj_ref==6)
{
- setAttrs({"montrer_chance_pj_1":0, "montrer_chance_pj_2":0, "montrer_chance_pj_3":0, "montrer_chance_pj_4":0, "montrer_chance_pj_5":0, "montrer_chance_pj_6":1, "montrer_chance_pj_7":0});
+ setAttrs({"montrer_chance_pj_0":0, "montrer_chance_pj_1":0, "montrer_chance_pj_2":0, "montrer_chance_pj_3":0, "montrer_chance_pj_4":0, "montrer_chance_pj_5":0, "montrer_chance_pj_6":1, "montrer_chance_pj_7":0});
}
else if (values.pj_ref==7)
{
- setAttrs({"montrer_chance_pj_1":0, "montrer_chance_pj_2":0, "montrer_chance_pj_3":0, "montrer_chance_pj_4":0, "montrer_chance_pj_5":0, "montrer_chance_pj_6":0, "montrer_chance_pj_7":1});
+ setAttrs({"montrer_chance_pj_0":0, "montrer_chance_pj_1":0, "montrer_chance_pj_2":0, "montrer_chance_pj_3":0, "montrer_chance_pj_4":0, "montrer_chance_pj_5":0, "montrer_chance_pj_6":0, "montrer_chance_pj_7":1});
}
});
});
@@ -80904,6 +81144,11 @@ on("change:opt_navigateur change:repeating_ent:nomEnm", function()
});
});
+on("clicked:app clicked:con clicked:for clicked:agi clicked:dex clicked:vue clicked:oui clicked:odo clicked:int clicked:rev clicked:emp clicked:vol clicked:der clicked:mel clicked:tir clicked:lan ", function()
+ {
+ setAttrs({"montrer_comp_regular":1, "montrer_compchance_pj_1":0, "montrer_compchance_pj_2":0, "montrer_compchance_pj_3":0, "montrer_compchance_pj_4":0, "montrer_compchance_pj_5":0, "montrer_compchance_pj_6":0, "montrer_compchance_pj_7":0});
+ });
+
//icone arme enchantee
on("clicked:repeating_weapons:gemmearmeiconeoff clicked:repeating_weapons:gemmearmeiconeon sheet:opened", function()
{
@@ -81077,7 +81322,7 @@ on("change:opt_navigateur change:repeating_ent:nomEnm", function()
//points de guérison pts_guerison
on("change:legere_1 change:legere_2 change:legere_3 change:legere_4 change:legere_5 change:grave_1 change:grave_2 change:critique_1 change:montrer_soin1 change:montrer_soin2 change:montrer_soin3 change:montrer_soin4 change:montrer_soin5 change:montrer_soin6 change:montrer_soin7 change:montrer_soin8 change:vie_actuel sheet:opened", function()
{
- getAttrs(["legere_1", "legere_2", "legere_3", "legere_4", "legere_5", "grave_1", "grave_2", "critique_1", "montrer_soin1", "montrer_soin2", "montrer_soin3", "montrer_soin4", "montrer_soin5", "montrer_soin6", "montrer_soin7", "montrer_soin8", "vie_actuel", "vie_max"], function(values)
+ getAttrs(["legere_1", "legere_2", "legere_3", "legere_4", "legere_5", "grave_1", "grave_2", "critique_1", "vie_actuel", "vie_max"], function(values)
{
var malus_pv = (parseInt(values.vie_max)-parseInt(values.vie_actuel))*2;
var points_guerison = malus_pv;
@@ -81092,48 +81337,38 @@ on("change:opt_navigateur change:repeating_ent:nomEnm", function()
var grave_2 = parseInt(values.grave_2);
var critique_1 = parseInt(values.critique_1);
-
- var soin1 = parseInt(values.montrer_soin1);
- var soin2 = parseInt(values.montrer_soin2);
- var soin3 = parseInt(values.montrer_soin3);
- var soin4 = parseInt(values.montrer_soin4);
- var soin5 = parseInt(values.montrer_soin5);
- var soin6 = parseInt(values.montrer_soin6);
- var soin7 = parseInt(values.montrer_soin7);
- var soin8 = parseInt(values.montrer_soin8);
-
-
- if (legere_1==1 && soin1 ==0)
+
+ if (legere_1==1)
{
points_guerison+=2;
}
- if (legere_2==1 && soin2 ==0)
+ if (legere_2==1)
{
points_guerison+=2;
}
- if (legere_3==1 && soin3 ==0)
+ if (legere_3==1)
{
points_guerison+=2;
}
- if (legere_4==1 && soin4 ==0)
+ if (legere_4==1)
{
points_guerison+=2;
}
- if (legere_5==1 && soin5 ==0)
+ if (legere_5==1)
{
points_guerison+=2;
}
- if (grave_1==1 && soin6 ==0)
+ if (grave_1==1)
{
points_guerison+=4;
}
- if (grave_2==1 && soin7 ==0)
+ if (grave_2==1)
{
points_guerison+=4;
}
- if (critique_1==1 && soin8 ==0)
+ if (critique_1==1)
{
points_guerison+=6;
}
@@ -81258,128 +81493,128 @@ on("change:opt_navigateur change:repeating_ent:nomEnm", function()
// remplir ou vider les champs blessures
- on("change:legere_1", function()
+ on("change:legere_1 change:montrer_soin1", function()
{
- getAttrs(["legere_1", "mod_temps_guerison"], function(values)
+ getAttrs(["legere_1", "mod_temps_guerison", "montrer_soin1"], function(values)
{
var mod = parseInt(values.mod_temps_guerison);
if (values.legere_1==0)
{
setAttrs({"desc_legere_1":"", "montrer_soin1":0, "bonus_legere_1":0, "duree_legere_1":0});
}
- else if (values.legere_1==1)
+ else if (values.legere_1==1 && values.montrer_soin1==1)
{
setAttrs({"duree_legere_1":3+mod});
}
});
});
- on("change:legere_2", function()
+ on("change:legere_2 change:montrer_soin2", function()
{
- getAttrs(["legere_2", "mod_temps_guerison"], function(values)
+ getAttrs(["legere_2", "mod_temps_guerison", "montrer_soin2"], function(values)
{
var mod = parseInt(values.mod_temps_guerison);
if (values.legere_2==0)
{
setAttrs({"desc_legere_2":"", "montrer_soin2":0, "bonus_legere_2":0, "duree_legere_2":0});
}
- else if (values.legere_2==1)
+ else if (values.legere_2==1 && values.montrer_soin2==1)
{
setAttrs({"duree_legere_2":3+mod});
}
});
});
- on("change:legere_3", function()
+ on("change:legere_3 change:montrer_soin3", function()
{
- getAttrs(["legere_3", "mod_temps_guerison"], function(values)
+ getAttrs(["legere_3", "mod_temps_guerison", "montrer_soin3"], function(values)
{
var mod = parseInt(values.mod_temps_guerison);
if (values.legere_3==0)
{
setAttrs({"desc_legere_3":"", "montrer_soin3":0, "bonus_legere_3":0, "duree_legere_3":0});
}
- else if (values.legere_3==1)
+ else if (values.legere_3==1 && values.montrer_soin3==1)
{
setAttrs({"duree_legere_3":3+mod});
}
});
});
- on("change:legere_4", function()
+ on("change:legere_4 change:montrer_soin4", function()
{
- getAttrs(["legere_4", "mod_temps_guerison"], function(values)
+ getAttrs(["legere_4", "mod_temps_guerison", "montrer_soin4"], function(values)
{
var mod = parseInt(values.mod_temps_guerison);
if (values.legere_4==0)
{
setAttrs({"desc_legere_4":"", "montrer_soin4":0, "bonus_legere_4":0, "duree_legere_4":0});
}
- else if (values.legere_4==1)
+ else if (values.legere_4==1 && values.montrer_soin4==1)
{
setAttrs({"duree_legere_4":3+mod});
}
});
});
- on("change:legere_5", function()
+ on("change:legere_5 change:montrer_soin5", function()
{
- getAttrs(["legere_5", "mod_temps_guerison"], function(values)
+ getAttrs(["legere_5", "mod_temps_guerison", "montrer_soin5"], function(values)
{
var mod = parseInt(values.mod_temps_guerison);
if (values.legere_5==0)
{
setAttrs({"desc_legere_5":"", "montrer_soin5":0, "bonus_legere_5":0, "duree_legere_5":0});
}
- else if (values.legere_5==1)
+ else if (values.legere_5==1 && values.montrer_soin5==1)
{
setAttrs({"duree_legere_5":3+mod});
}
});
});
- on("change:grave_1", function()
+ on("change:grave_1 change:montrer_soin6", function()
{
- getAttrs(["grave_1", "mod_temps_guerison"], function(values)
+ getAttrs(["grave_1", "mod_temps_guerison", "montrer_soin6"], function(values)
{
var mod = parseInt(values.mod_temps_guerison);
if (values.grave_1==0)
{
setAttrs({"desc_grave_1":"", "montrer_soin6":0, "bonus_grave_1":0, "duree_grave_1":0});
}
- else if (values.grave_1==1)
+ else if (values.grave_1==1 && values.montrer_soin6==1)
{
setAttrs({"duree_grave_1":5+mod});
}
});
});
- on("change:grave_2", function()
+ on("change:grave_2 change:montrer_soin7", function()
{
- getAttrs(["grave_2", "mod_temps_guerison"], function(values)
+ getAttrs(["grave_2", "mod_temps_guerison", "montrer_soin7"], function(values)
{
var mod = parseInt(values.mod_temps_guerison);
if (values.grave_2==0)
{
setAttrs({"desc_grave_2":"", "montrer_soin7":0, "bonus_grave_2":0, "duree_grave_2":0});
}
- else if (values.grave_2==1)
+ else if (values.grave_2==1 && values.montrer_soin7==1)
{
setAttrs({"duree_grave_2":5+mod});
}
});
});
- on("change:critique_1", function()
+ on("change:critique_1 change:montrer_soin8", function()
{
- getAttrs(["critique_1", "mod_temps_guerison"], function(values)
+ getAttrs(["critique_1", "mod_temps_guerison", "montrer_soin8"], function(values)
{
var mod = parseInt(values.mod_temps_guerison);
if (values.critique_1==0)
{
setAttrs({"desc_critique_1":"", "montrer_soin8":0, "bonus_critique_1":0, "duree_critique_1":0});
}
- else if (values.critique_1==1)
+ else if (values.critique_1==1 && values.montrer_soin8==1)
{
setAttrs({"duree_critique_1":7+mod});
}
@@ -88034,6 +88269,21 @@ on("change:opt_navigateur change:repeating_ent:nomEnm", function()
}
});
});
+
+ on("sheet:opened", function()
+ {
+ getAttrs(["montrer_sacs", "montrer_veture", "montrer_outres", "montrer_bourses", "montrer_armes", "montrer_potions", "demi_reve"], function(values)
+ {
+ if (values.montrer_sacs+values.montrer_veture+values.montrer_outres+values.montrer_bourses+values.montrer_armes+values.montrer_potions == 0)
+ {
+ setAttrs({"montrer_sacs":1});
+ }
+ if (values.demi_reve == "")
+ {
+ setAttrs({"code_case":1, "demi_reve":"Cité VIDE (A1)", "coche_tmr_a1":1});
+ }
+ });
+ });