-
+
Roll Spell Effects
@@ -4065,52 +3964,11 @@
-
+
Show spell details
-
+
-
+
Roll Spell Effects
@@ -17071,6 +16927,140 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Wizard's Handbook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -18065,7 +18055,6 @@ var TAS = TAS || (function(){
/* ---- END: TheAaronSheet.js ---- */
-
/* ---- Attributes tables start ---- */
const strengthTable = {};
strengthTable['strengthhit'] = ['Error','-5','-3','-3','-2','-2','-1','-1','0','0','0','0','0','0','0','0','0','+1','+1','+3','+3','+4','+4','+5','+6','+7'];
diff --git a/AD&D 2E Revised/2EStyle.css b/AD&D 2E Revised/2EStyle.css
index ede8c2b397..e3c00c78c1 100644
--- a/AD&D 2E Revised/2EStyle.css
+++ b/AD&D 2E Revised/2EStyle.css
@@ -83,6 +83,10 @@
.charsheet input.sheet-spell {
width: 215px;
}
+.charsheet select.sheet-spell-big,
+.charsheet input.sheet-spell-big {
+ width: 295px;
+}
.charsheet select.sheet-long,
.charsheet input.sheet-long {
width: 400px;
diff --git a/AD&D 2E Revised/build/combine.ps1 b/AD&D 2E Revised/build/combine.ps1
index c31505c6eb..b32fe36d52 100644
--- a/AD&D 2E Revised/build/combine.ps1
+++ b/AD&D 2E Revised/build/combine.ps1
@@ -2,14 +2,31 @@
$sourceFolder = 'D:\git\roll20-character-sheets\AD&D 2E Revised'
$outputFile = 'D:\git\roll20-character-sheets\AD&D 2E Revised\2ESheet.html'
+$replaceConstant = '#REPLACE#'
+
$content = Get-Content -Path $inputFile
$inserts = ($content | Select-String -Pattern 'insert_')
$inserts | ForEach-Object {
- $fileName = $_.Line.Split('_')[1]
+ $_
+ $split = $_.Line.Split('_')
+ $whiteSpace = $split[0].Replace('insert', '')
+ $fileName = $split[1]
$file = Get-ChildItem -Path $sourceFolder -Filter $fileName -Recurse
- $content = $content -replace $_.Line, (Get-Content -Path $file.FullName -Raw)
+ $fileContent = Get-Content -Path $file.FullName
+ if ($whiteSpace.Length -gt 0) {
+ for ($i = 0; $i -lt $fileContent.Length; $i++)
+ {
+ $fileContent[$i] = $whiteSpace + $fileContent[$i]
+ }
+ }
+ $rawContent = $fileContent -join "`n"
+ if ($split.Length -gt 2 -and $rawContent.Contains($replaceConstant)) {
+ $rawContent = $rawContent.Replace($replaceConstant, $split[2])
+ }
+
+ $content = $content -replace $_.Line, ($rawContent)
}
$content | Set-Content -Path $outputFile
diff --git a/AD&D 2E Revised/raw/2ESheet-raw.html b/AD&D 2E Revised/raw/2ESheet-raw.html
index 17b14bc25d..13fa8a8747 100644
--- a/AD&D 2E Revised/raw/2ESheet-raw.html
+++ b/AD&D 2E Revised/raw/2ESheet-raw.html
@@ -3521,129 +3521,7 @@
Spells Memorized
-
-
-
-
-
-
-
Show spell details
-
-
-
-
-
- Roll Spell Effects
-
- Roll Template
-
-
-
-
-
-
-
+ insert_wizard-spell-template.html_wiz1
@@ -3791,130 +3669,7 @@
Spells Memorized
-
-
-
-
-
-
-
Show spell details
-
-
-
-
-
- Roll Spell Effects
-
- Roll Template
-
-
-
-
-
-
-
+ insert_wizard-spell-template.html_wiz2
@@ -4062,122 +3817,7 @@
Spells Memorized
-
-
-
-
-
-
-
Show spell details
-
-
-
-
-
- Roll Spell Effects
-
- Roll Template
-
-
-
-
-
-
-
+ insert_wizard-spell-template.html_wiz3
diff --git a/AD&D 2E Revised/raw/datalists.html b/AD&D 2E Revised/raw/datalists.html
index d6c1701ae4..af95129677 100644
--- a/AD&D 2E Revised/raw/datalists.html
+++ b/AD&D 2E Revised/raw/datalists.html
@@ -304,4 +304,138 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Wizard's Handbook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/AD&D 2E Revised/raw/wizard-spell-template.html b/AD&D 2E Revised/raw/wizard-spell-template.html
new file mode 100644
index 0000000000..80fb27d60f
--- /dev/null
+++ b/AD&D 2E Revised/raw/wizard-spell-template.html
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
Show spell details
+
+
+
+
+
+ Roll Spell Effects
+
+ Roll Template
+
+
+
+
+
+
+
\ No newline at end of file