Added settings to control druids handbook

This commit is contained in:
Peter Bjerg Lidegaard
2022-01-11 19:20:07 +01:00
parent 3b1d354533
commit 4f596e70ec
4 changed files with 22 additions and 2 deletions
+7 -1
View File
@@ -18124,6 +18124,12 @@
<td>Proficiencies</td>
<td><label><input type='checkbox' name='attr_book-tcpahb' title="@{book-tcpahb}" value="The Complete Paladin's Handbook"/><span></span></label></td>
</tr>
<tr>
<td>The Complete Druid's Handbook</td>
<td>1994 August</td>
<td>Spells</td>
<td><label><input type='checkbox' name='attr_book-tcdhb' title="@{book-tcdhb}" value="The Complete Druid's Handbook"/><span></span></label></td>
</tr>
</table>
<br>
<label>Should rolls ask for a Miscellaneous modifier?</label>
@@ -40779,7 +40785,7 @@ const BOOK_FIELDS = [
'book-phb', 'book-tcfhb', 'book-tcthb', 'book-tcprhb', 'book-tcwhb',
'book-tom', 'book-aaeg',
'book-tcbod', 'book-tcbhb', 'book-tcboe', 'book-tcboh', 'book-tcrhb',
'book-tcpahb'
'book-tcpahb', 'book-tcdhb'
];
//#region Helper function
+6
View File
@@ -12730,6 +12730,12 @@
<td>Proficiencies</td>
<td><label><input type='checkbox' name='attr_book-tcpahb' title="@{book-tcpahb}" value="The Complete Paladin's Handbook"/><span></span></label></td>
</tr>
<tr>
<td>The Complete Druid's Handbook</td>
<td>1994 August</td>
<td>Spells</td>
<td><label><input type='checkbox' name='attr_book-tcdhb' title="@{book-tcdhb}" value="The Complete Druid's Handbook"/><span></span></label></td>
</tr>
</table>
<br>
<label>Should rolls ask for a Miscellaneous modifier?</label>
+1 -1
View File
@@ -11,7 +11,7 @@ const BOOK_FIELDS = [
'book-phb', 'book-tcfhb', 'book-tcthb', 'book-tcprhb', 'book-tcwhb',
'book-tom', 'book-aaeg',
'book-tcbod', 'book-tcbhb', 'book-tcboe', 'book-tcboh', 'book-tcrhb',
'book-tcpahb'
'book-tcpahb', 'book-tcdhb'
];
//#region Helper function
+8
View File
@@ -110,6 +110,14 @@
"checked": false,
"description": "Includes Proficiencies"
},
{
"attribute": "book-tcdhb",
"displayname": "The Complete Druid's Handbook",
"type": "checkbox",
"value": "The Complete Druid's Handbook",
"checked": false,
"description": "Includes Spells"
},
{
"attribute": "misc-mod",
"displayname": "Miscellaneous modifier on Rolls",