diff --git a/Todo and utils.txt b/Todo and utils.txt index 6112182..f0925b7 100644 --- a/Todo and utils.txt +++ b/Todo and utils.txt @@ -85,3 +85,8 @@ on("change:item_shield3_activation change:general_item_shield3", function() { }); name roll_name dice_name result threshold +/e - Test d.+(\w*).*\[\[(.*)-.*\]\] +&{template:d10skillcheck}{{name=@{character_name}} {{roll_name=$1}} {{dice_name=@{dice}}} {{result=$2}} {{threshold=[[]]}} + +/e .* @{(\w*)}.*\[(.*) -.*\)?\]\] +&{template:d10skillcheck}{{name=@{character_name}}} {{roll_name=@{$1}}} {{dice_name=@{dice}}} {{result=[[$2-d@{dice}cs1cf@{dice}]]}} {{threshold=[[$2]]}} diff --git a/feuille_sysd10.html b/feuille_sysd10.html index d625a68..bf35ae4 100644 --- a/feuille_sysd10.html +++ b/feuille_sysd10.html @@ -1,454 +1,417 @@ - - - - - -
-
- -
- -
-
-
-
-

Ressources

- - - - - - - - - - - - - - - - - -

Points de Vie

Points de Fatigue

Dégats aggravés

+ + +
+
+ +
+
-
- - - -
- - - - - - - - -

Points de compétence :

Utilisés - + + + + + + + + + + + + + + + + +

Points de Vie

Points de Fatigue

Dégats aggravés

+ +
+ + + +
+ + + + + + + + +

Points de compétence :

Utilisés + +
Restants
+
+ +
+
+

Caractéristiques

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CaracValeurBonusLancer
Force
Agilité
Perception
Charisme
+
+
+

 

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CaracValeurBonusLancer
Intelligence
Volonté
Psyché
Chance
+
+
+
+ + + + +
+
+ + + + +
+ +

Compétences générales

+
+ + + + -
Restants
-
-
-
-
-

Caractéristiques

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CaracValeurBonusLancer
Force
Agilité
Perception
Charisme
-
-
-

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CaracValeurBonusLancer
Intelligence
Volonté
Psyché
Chance
-
-
-
- - - - -
-
- - - + + +
+ +
+ +

Compétences sociales

+
+ + + + + +
+
+ +
+ +

Compétences Intellectuelles

+
+ + + + + +
+
-
- -

Compétences générales

-
- - - - - -
- -
- -

Compétences sociales

-
- - - - - -
-
- -
- -

Compétences Intellectuelles

-
- - - - - -
-
-
-
- -
-
- - -
-

Compétences magiques

-
- - - - - -
+ +
+
+ + +
+

Compétences magiques

+
+ + + + + +
+
+
-
-
- -
- - - - - -
- - - - d10+ - + - - -
+ +
+ + + + + +
+ + + + d10+ + + + + +
- - - - - - -
- - - - - -
- - - - - -
- - - - - - - - -
- - - - + + + - -
+ +
-
+ + + + +
- -
+ + + + +
- - - - - - - - -
+ + + + + - - - - - - - - -
+ +
+ + + + + +
- - - - - - - - -
+
- - - - - - - - -
+ +
- - - - - - - - -
- - -
- - - - + + + - -
-
+ + + +
- -
- - d10+ - + - - -
- - d10+ - - -
- - - - - -
- - - - - -
- - - - - - - - - - - - - - - -
- - - - - - - - - -
- - - - - - - - - -
- - - - - - - - - -
- - -
- - - - + + + - -
-
+ + + +
- -
. - - d10 ∘ - + - - -
- - - - - - - - - -
- - - - - - - - - -
- - - - - - - - - -
- - - - - - - - - -
- - -
- - - - + + + - -
+ + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + +
+ + + + + +
+
+ + +
+ + d10+ + + + + +
+ + d10+ + + +
+ + + + + +
+ + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + +
+ + + + + +
+
+ + +
. + + d10 ∘ + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ + +
+ + + + + +
+
+
-
-
- - - - - - {{#rollWasCrit() result}} - - {{/rollWasCrit() result}} - {{#^rollWasCrit() result}} - {{#rollGreater() result 1}} - - {{/rollGreater() result 1}} - {{#rollBetween() result 0 1}} - - {{/rollBetween() result 0 1}} - {{#rollLess() result 0}} - - {{/rollLess() result 0}} + +
{{name}} — {{roll_name}}
Test au d{{dice_name}} seuil {{threshold}}
Critique ! {{result}} degrés de réussite{{result}} degrés de réussite{{result}} degré de réussite{{result}} degrés d'échec
+ + + + {{#rollWasCrit() result}} + + {{/rollWasCrit() result}} + {{#^rollWasCrit() result}} {{#rollWasFumble() result}} - - {{/rollWasFumble() result}} - {{/^rollWasCrit() result}} - -
{{name}} — {{roll_name}}
Test au d{{dice_name}} seuil {{threshold}}
Critique ! {{result}}x2 degrés de réussiteÉchec critique ! {{result}} degrés d'échec
-
+ Échec critique ! {{result}}x2 degrés d'échec + {{/rollWasFumble() result}} + {{#^rollWasFumble() result}} + {{#rollGreater() result 1}} + {{result}} degrés de réussite + {{/rollGreater() result 1}} + {{#rollBetween() result 0 1}} + {{result}} degré de réussite + {{/rollBetween() result 0 1}} + {{#rollLess() result 0}} + {{result}} degrés d'échec + {{/rollLess() result 0}} + {{/^rollWasFumble() result}} + {{/^rollWasCrit() result}} + + + diff --git a/style.css b/style.css index 1907d23..7e076ff 100644 --- a/style.css +++ b/style.css @@ -153,7 +153,7 @@ select.sheet-dice_select{ } .sheet-rolltemplate-d10skillcheck .sheet-roll-fumble { padding-left: 5px; - margin-bottom: 5px; + margin-bottom: 8px; background-color:#d6adad; } @@ -165,15 +165,22 @@ select.sheet-dice_select{ padding-top: 0px; margin-top: -10px; } + +.sheet-rolltemplate-d10skillcheck .sheet-inline, .sheet-rolltemplate-d10skillcheck .inlinerollresult { background-color: transparent; border: none; + font-weight: bold; + padding:0px; + font-family: "Times New Roman", Times, serif; } +.sheet-rolltemplate-d10skillcheck .sheet-inline.fullcrit, .sheet-rolltemplate-d10skillcheck .inlinerollresult.fullcrit { color: #3FB315; border: none; } +.sheet-rolltemplate-d10skillcheck .sheet-inline.fullfail, .sheet-rolltemplate-d10skillcheck .inlinerollresult.fullfail { color: #B31515; border: none;