From 13d3198557e18a85171d2ac22f8482a102aea75e Mon Sep 17 00:00:00 2001 From: Stexinator Date: Mon, 21 Jun 2021 17:06:54 +0200 Subject: [PATCH 1/5] [TheWitcher] incorporate crit into roll --- TheWitcher/witchersheet.html | 246 ++++++++++++++++++----------------- 1 file changed, 126 insertions(+), 120 deletions(-) diff --git a/TheWitcher/witchersheet.html b/TheWitcher/witchersheet.html index 76cfa7959d..c76624d591 100644 --- a/TheWitcher/witchersheet.html +++ b/TheWitcher/witchersheet.html @@ -300,7 +300,7 @@
- + @@ -315,7 +315,7 @@


- + @@ -330,7 +330,7 @@


- + @@ -345,7 +345,7 @@

- + @@ -360,7 +360,7 @@

- + @@ -375,7 +375,7 @@

- + @@ -390,7 +390,7 @@

- + @@ -405,7 +405,7 @@

- + @@ -420,7 +420,7 @@

- + @@ -435,7 +435,7 @@

- + @@ -450,7 +450,7 @@

- + @@ -465,7 +465,7 @@

- + @@ -480,7 +480,7 @@

- + @@ -508,14 +508,14 @@
- -
- -
- -
- -
+ +
+ +
+ +
+ +

@@ -527,7 +527,7 @@


- + @@ -551,13 +551,13 @@
- -
- -
- -
- + +
+ +
+ +
+

@@ -569,7 +569,7 @@


- + @@ -584,7 +584,7 @@

- + @@ -608,13 +608,13 @@
- -
- -
- -
- + +
+ +
+ +
+

@@ -635,12 +635,12 @@
- -
- -
- -
+ +
+ +
+ +

@@ -661,13 +661,13 @@
- -
- -
- -
- + +
+ +
+ +
+

@@ -693,8 +693,8 @@
- - + +

@@ -715,10 +715,10 @@
- -
- -
+ +
+ +

@@ -730,7 +730,7 @@


- + @@ -745,7 +745,7 @@

- + @@ -760,7 +760,7 @@

- + @@ -784,7 +784,7 @@
- + @@ -799,7 +799,7 @@


- + @@ -819,7 +819,7 @@
- + @@ -834,7 +834,7 @@


- + @@ -849,7 +849,7 @@


- + @@ -864,7 +864,7 @@

- + @@ -879,7 +879,7 @@

- + @@ -894,7 +894,7 @@

- + @@ -909,7 +909,7 @@

- + @@ -924,7 +924,7 @@

- + @@ -940,26 +940,26 @@

- +
- +



- +
- +

@@ -971,7 +971,7 @@
- + @@ -986,7 +986,7 @@


- + @@ -1001,7 +1001,7 @@


- + @@ -1016,7 +1016,7 @@


- + @@ -1031,7 +1031,7 @@

- + @@ -1046,7 +1046,7 @@

- + @@ -1061,7 +1061,7 @@

- + @@ -1081,7 +1081,7 @@
- + @@ -1096,7 +1096,7 @@


- + @@ -1113,7 +1113,7 @@

- + @@ -1139,8 +1139,8 @@
- - + +

@@ -1152,7 +1152,7 @@


- + @@ -1167,7 +1167,7 @@

- + @@ -1182,7 +1182,7 @@

- + @@ -1212,7 +1212,7 @@


-
+


@@ -1244,7 +1244,7 @@
- +
@@ -1274,7 +1274,7 @@
- +
@@ -1294,7 +1294,7 @@ - + @@ -1312,7 +1312,7 @@ - + @@ -1330,7 +1330,7 @@ - +
@@ -1350,7 +1350,7 @@ - + @@ -1368,7 +1368,7 @@ - + @@ -1386,7 +1386,7 @@ - +
@@ -1406,7 +1406,7 @@ - + @@ -1424,7 +1424,7 @@ - + @@ -1442,11 +1442,11 @@ - + - +
@@ -2246,7 +2246,7 @@ -
+
@@ -2334,7 +2334,7 @@

@@ -2430,7 +2430,7 @@
- +
@@ -2540,7 +2540,7 @@
- +
@@ -2554,7 +2554,7 @@


-
+


@@ -2604,7 +2604,7 @@ - +
@@ -2680,7 +2680,7 @@


-
+
@@ -3371,7 +3371,7 @@ function repeatingSum (destination, section, fieldsum, fieldmult, totalmult){ {{title}} NAME: {{name}} SKILL ROLL: {{roll}} - {{#rollWasCrit() roll}}CRITICAL: Use the Critical/Fumble button, **add** the result to your total score.{{/rollWasCrit() roll}} + {{#rollWasCrit() roll}}CRITICAL: Criticals are already calculated into the roll{{/rollWasCrit() roll}} {{#rollWasFumble() roll}}FUMBLE: Use the Critical/Fumble button, **subtract** the result from your total score.{{/rollWasFumble() roll}} @@ -3382,9 +3382,9 @@ function repeatingSum (destination, section, fieldsum, fieldmult, totalmult){ NAME: {{name}} 1ST ATTACK: {{roll}} 2ND ATTACK: {{roll2}} - {{#rollWasCrit() roll}}CRITICAL: Use the Critical/Fumble button, **add** the result to your first attack.{{/rollWasCrit() roll}} + {{#rollWasCrit() roll}}CRITICAL: Criticals are already calculated into the roll{{/rollWasCrit() roll}} {{#rollWasFumble() roll}}FUMBLE: Use the Critical/Fumble button, **subtract** the result from your first attack.{{/rollWasFumble() roll}} - {{#rollWasCrit() roll2}}CRITICAL: Use the Critical/Fumble button, **add** the result to your second attack.{{/rollWasCrit() roll2}} + {{#rollWasCrit() roll2}}CRITICAL: Criticals are already calculated into the roll{{/rollWasCrit() roll2}} {{#rollWasFumble() roll2}}FUMBLE: Use the Critical/Fumble button, **subtract** the result from your second attack.{{/rollWasFumble() roll2}} @@ -3419,8 +3419,12 @@ function repeatingSum (destination, section, fieldsum, fieldmult, totalmult){ - - + + + + + + {{#rollTotal() roll 1}}{{/rollTotal() roll 1}} {{#rollBetween() roll 2 4}}{{/rollBetween() roll 2 4}} {{#rollTotal() roll 5}}{{/rollTotal() roll 5}} @@ -3432,7 +3436,9 @@ function repeatingSum (destination, section, fieldsum, fieldmult, totalmult){ {{#rollBetween() roll 8 9}}{{/rollBetween() roll 8 9}} {{#rollTotal() roll 10}}{{/rollTotal() roll 10}} - + + +
{{title}}
NAME: {{name}}
{{title}}
NAME: {{name}}
HEAD: If successful, your attack will deal x3 damage.
TORSO (HUMANOID): If successful, your attack will deal standard damage.
RIGHT ARM (HUMANOID): If successful, your attack will deal half damage.
LEFT LIMB (MONSTER): If successful, your attack will deal half damage.
WING/TAIL (MONSTER): If successful, your attack will deal half damage.
TARGET LOCATION: {{roll}}
TARGET LOCATION: {{roll}}
@@ -3444,7 +3450,7 @@ function repeatingSum (destination, section, fieldsum, fieldmult, totalmult){ NAME: {{name}} DESCRIPTION: {{description}} SKILL ROLL: {{roll}} - {{#rollWasCrit() roll}}CRITICAL: Use the Critical/Fumble button, **add** the result to your total score.{{/rollWasCrit() roll}} + {{#rollWasCrit() roll}}CRITICAL: Criticals are already calculated into the roll{{/rollWasCrit() roll}} {{#rollWasFumble() roll}}FUMBLE: Use the Critical/Fumble button, **subtract** the result from your total score.{{/rollWasFumble() roll}} @@ -3455,7 +3461,7 @@ function repeatingSum (destination, section, fieldsum, fieldmult, totalmult){ NAME: {{name}} DESCRIPTION: {{description}} SKILL ROLL: {{roll}} - {{#rollWasCrit() roll}}CRITICAL: Use the Critical/Fumble button, **add** the result to your total score.{{/rollWasCrit() roll}} + {{#rollWasCrit() roll}}CRITICAL: Criticals are already calculated into the roll{{/rollWasCrit() roll}} {{#rollWasFumble() roll}}FUMBLE: Use the Critical/Fumble button, **subtract** the result from your total score.{{/rollWasFumble() roll}} @@ -3466,7 +3472,7 @@ function repeatingSum (destination, section, fieldsum, fieldmult, totalmult){ NAME: {{name}} DESCRIPTION: {{description}} SKILL ROLL: {{roll}} - {{#rollWasCrit() roll}}CRITICAL: Use the Critical/Fumble button, **add** the result to your total score.{{/rollWasCrit() roll}} + {{#rollWasCrit() roll}}CRITICAL: Criticals are already calculated into the roll{{/rollWasCrit() roll}} {{#rollWasFumble() roll}}FUMBLE: Use the Critical/Fumble button, **subtract** the result from your total score.{{/rollWasFumble() roll}} @@ -3477,7 +3483,7 @@ function repeatingSum (destination, section, fieldsum, fieldmult, totalmult){ NAME: {{name}} DESCRIPTION: {{description}} SKILL ROLL: {{roll}} - {{#rollWasCrit() roll}}CRITICAL: Use the Critical/Fumble button, **add** the result to your total score.{{/rollWasCrit() roll}} + {{#rollWasCrit() roll}}CRITICAL: Criticals are already calculated into the roll{{/rollWasCrit() roll}} {{#rollWasFumble() roll}}FUMBLE: Use the Critical/Fumble button, **subtract** the result from your total score.{{/rollWasFumble() roll}} @@ -3566,7 +3572,7 @@ function repeatingSum (destination, section, fieldsum, fieldmult, totalmult){ NAME: {{name}} REPUTATION: {{reputation}} REP ROLL: {{roll}} - {{#rollWasCrit() roll}}CRITICAL: Use the Critical/Fumble button, **add** the result to your total score.{{/rollWasCrit() roll}} + {{#rollWasCrit() roll}}CRITICAL: Criticals are already calculated into the roll{{/rollWasCrit() roll}} {{#rollWasFumble() roll}}FUMBLE: Use the Critical/Fumble button, **subtract** the result from your total score.{{/rollWasFumble() roll}} From 582eaac1ce66524d970a713db522e6e1eb4cf6bb Mon Sep 17 00:00:00 2001 From: Stexinator Date: Mon, 21 Jun 2021 17:47:36 +0200 Subject: [PATCH 2/5] [TheWitcher] some html cleanup --- TheWitcher/witchersheet.html | 451 ++++++++++++++++++----------------- 1 file changed, 229 insertions(+), 222 deletions(-) diff --git a/TheWitcher/witchersheet.html b/TheWitcher/witchersheet.html index c76624d591..019fda798b 100644 --- a/TheWitcher/witchersheet.html +++ b/TheWitcher/witchersheet.html @@ -12,12 +12,12 @@ - +
| - | + | @@ -27,13 +27,13 @@ - +
| - | + | @@ -43,13 +43,13 @@ - +
| - | + | @@ -59,11 +59,11 @@ - +
| - | + | @@ -73,11 +73,11 @@ - +
| - | + | @@ -87,11 +87,11 @@ - +
| - | + | @@ -101,11 +101,11 @@ - +
| - | + | @@ -115,11 +115,11 @@ - +
| - | + | @@ -154,11 +154,11 @@
- +
| - | + | @@ -168,11 +168,11 @@ - +
| - | + | @@ -181,11 +181,11 @@
- +
| - | + | @@ -194,11 +194,11 @@
- +
| - | + | @@ -207,11 +207,11 @@
- +
| - | + | @@ -221,11 +221,11 @@ - +
| - | + | @@ -235,11 +235,11 @@ - +
| - | + | @@ -249,11 +249,11 @@ - +
| - | + | @@ -263,11 +263,11 @@ - +
| - | + | @@ -303,12 +303,12 @@ - +

| - | + | @@ -318,12 +318,12 @@ - +

| - | + | @@ -333,12 +333,12 @@ - +

| - | + | @@ -348,12 +348,12 @@ - +

| - | + | @@ -363,12 +363,12 @@ - +

| - | + | @@ -378,12 +378,12 @@ - +

| - | + | @@ -393,12 +393,12 @@ - +

| - | + | @@ -408,12 +408,12 @@ - +

| - | + | @@ -423,12 +423,12 @@ - +