From 818419777c19ad556f5bbbfaa194f73684f99ba8 Mon Sep 17 00:00:00 2001 From: Actoba Date: Sun, 21 Feb 2016 14:13:15 +0000 Subject: [PATCH] Adding roll options for STR save throws as first real integration of the externally developed/tested RO to the sheet...alongside a few tweaks to fix bugs associated with the integration. Next step is to replicate this across other rolls (starting with other saves) --- DnD_5e/DnD_5e.css | 5 +++ DnD_5e/DnD_5e.html | 108 ++++++++++++++++++++++++++++++++++++++------- 2 files changed, 96 insertions(+), 17 deletions(-) diff --git a/DnD_5e/DnD_5e.css b/DnD_5e/DnD_5e.css index 5d3b0c77ad..7b943cc2a1 100644 --- a/DnD_5e/DnD_5e.css +++ b/DnD_5e/DnD_5e.css @@ -832,6 +832,11 @@ div[class^="sheet-classaction-row"] { border-bottom: 1px dotted #000; } +.sheet-align-center, +.sheet-rolltemplate-5eDefault .sheet-align-center { + text-align: center; +} + input[type=number], input[type=text], select { width: 100%!important; margin-bottom:2px!important; diff --git a/DnD_5e/DnD_5e.html b/DnD_5e/DnD_5e.html index 7bfb64fef6..3b6c4e37d3 100644 --- a/DnD_5e/DnD_5e.html +++ b/DnD_5e/DnD_5e.html @@ -6,7 +6,7 @@
Dungeons and Dragons (5th edition)
-

Sheet version
29th Mar 2015

+

Sheet version
1.01


Character Name

Race

Class
@@ -44,21 +44,88 @@

Core Stats

-
Score
-
 
-
Mod
-
Save Prof?
-
Save Bonus
-
Save
+
Score
+
 
+
Mod
+
Save Prof?
+
Save Mod
+
Save
+
 
-
-
Str
-
-
-
-
+
+
Str
+
+
+
+
+
+ y + + +
+ +
+ +
+
STR save throw roll options
+
+ + +
+
+ + + + + +
+
The settings here apply only to the roll specified in the title above.
+
+
+ +
+ + + + +
+
Roll type
+
+ + +
+
+ +
+ +
+
Prompt for emote?
+
+
+ +
+ +
+
Show math?
+
+
+ + + + +
+
+ + +
@@ -13738,12 +13805,19 @@ {{#savethrow}} - {{#note}} + {{#rollhasadv}}
-
Note
-
{{note}}
+
Roll type
+
With advantage
- {{/note}} + {{/rollhasadv}} + + {{#rollhasdisadv}} +
+
Roll type
+
With disadvantage
+
+ {{/rollhasdisadv}}
{{rollname}}