bugfix {{spray}} extra dialog

adds the green background to "Spray weapons jam on a nat 9"

some whitespace fixes, but these really just come down to taste
This commit is contained in:
johnmoney-code
2021-01-12 18:39:42 -08:00
parent 73fa15b4ed
commit 69e4bb164a
+18 -15
View File
@@ -2373,7 +2373,8 @@
{{#damage}}
<div class="template-header">{{character}} rolls for damage with {{weapon}}</div>
{{#description}}<div class="template-content template-content_top">{{/description}}
{{^description}}<div class="template-content"> {{/description}}
{{^description}}{{#spray}}<div class="template-content template-content_top">{{/spray}}{{/description}}
{{^description}}{{^spray}}<div class="template-content">{{/spray}}{{/description}}
<div class="template-2x2">
<div class="template-2x2">
<div class="template-row template-right">Type:</div>
@@ -2390,22 +2391,24 @@
<div class="template-row mythic_crit">{{pen}}</div>
</div>
</div>
</div>
{{/damage}}
{{#spray}}
<div class="template-row ">Spray weapons jam on any natural Damage die roll of 9.</div>
{{#description}}<div class="template-content template-content_top">{{/description}}
{{^description}}<div class="template-content">{{/description}}
<div class="template-row">Spray weapons jam on any natural Damage die roll of 9.</div>
</div>
{{/spray}}
{{#description}}
{{#name}}<div class="template-header">{{name}}</div>{{/name}}
<div class="template-content">
<div class="template-row ">{{description}}</div>
<div class="template-row">{{description}}</div>
</div>
{{/description}}
{{#righteousfury}}
{{#righteousfury}}
<div class="template-header">{{character}} attacks with Righteous Fury (p258/p276)</div>
<div class="template-content">
<!-- target is person -->
@@ -3168,11 +3171,11 @@
{{/rollTotal() location 3}}
{{/rollTotal() target 1}}
</div>
{{/righteousfury}}
{{/righteousfury}}
{{#scatter-range}}
{{#scatter-range}}
<div class="template-header">{{character}} scatters </div>
<div class="template-content">
<div class="template-row template-center">Range: {{scatter-range}} meters </div>
@@ -3186,11 +3189,11 @@
{{#rollBetween() scatter-direction 9 10}} <img src="https://raw.githubusercontent.com/johnmoney-code/roll20-character-sheets/Only-War-Enhanced/Only-War-Enhanced/images/Scatter/9-0-scatter-SE.png">{{/rollBetween() scatter-direction 9 10}}
</div>
{{/scatter-range}}
{{/scatter-range}}
{{#shock}}
{{#shock}}
<div class="template-header">{{character}} experiences Shock (p304)</div>
<div class="template-content">
<div class="template-row template-center">Severity: {{shock}}</div>
@@ -3229,11 +3232,11 @@
{{/rollGreater() shock 170}}
</div>
{{/shock}}
{{/shock}}
{{#phenomena}}
{{#phenomena}}
<div class="template-header">{{character}} rolls for Psychic Phenomena (p227)</div>
<div class="template-content">
<div class="template-row template-center">Severity: {{roll}} </div>
@@ -3316,11 +3319,11 @@
<div class="template-row template-center">Perils of the Warp</div>
{{/rollGreater() roll 75}}
</div>
{{/phenomena}}
{{/phenomena}}
{{#perils}}
{{#perils}}
<div class="template-header">{{character}} rolls for Perils of the Warp (p228)</div>
<div class="template-content">
<div class="template-row template-center">Severity: {{roll}} </div>
@@ -3379,7 +3382,7 @@
<div class="template-row template-center">Annihiliation</div>
{{/rollTotal() roll 100}}
</div>
{{/perils}}
{{/perils}}
@@ -3417,7 +3420,7 @@
</div>
</div>
{{/4x2-1}}
{{/4x2-1}}
</div>
</rolltemplate>