Merge pull request #10036 from Byroks/Shadowrun5th-Techno-fix
[Shadowrun5th] Technomancer Complexe Forms Roll & Button Fix
This commit is contained in:
@@ -1730,6 +1730,7 @@ div.spacer {
|
||||
.charsheet button[type=action].standardroll::before,
|
||||
.charsheet button[type=action].rollbuttonspec::before,
|
||||
.charsheet button[type=action].rollbuttonnospec::before,
|
||||
.charsheet button[type=action].spellrolltechno::before,
|
||||
.charsheet button[type=action].spellrollmage::before
|
||||
{
|
||||
font-family: "dicefontd20";
|
||||
|
||||
+365
-91
@@ -8,7 +8,7 @@
|
||||
|
||||
<input type="radio" class="tabs tab3" name="attr_tabnumber" value="3">
|
||||
<div class="tablabel">
|
||||
<input class="technomancycheckbox" type="checkbox" name="attr_istechnomancer" value="1">
|
||||
<input class="technomancycheckbox" type="checkbox" name="attr_istechnomancer" value="1">
|
||||
<div class="labelmage">Magic</div>
|
||||
<div class="labeltechnomancer">Technomancy</div>
|
||||
</div>
|
||||
@@ -45,7 +45,9 @@
|
||||
<div class="statblock">
|
||||
<h2>Attributes</h2>
|
||||
<div class="statcol statcol1">
|
||||
<div class="statheading"><h4> </h4></div>
|
||||
<div class="statheading">
|
||||
<h4> </h4>
|
||||
</div>
|
||||
<div class="statlabel"><label>Body</label></div>
|
||||
<div class="statlabel"><label>Agility</label></div>
|
||||
<div class="statlabel"><label>Reaction</label></div>
|
||||
@@ -55,14 +57,16 @@
|
||||
<div class="statlabel"><label>Charisma</label></div>
|
||||
<div class="statlabel"><label>Intuition</label></div>
|
||||
<div class="statlabel">
|
||||
<input class="technomancycheckbox" type="checkbox" name="attr_istechnomancer" value="1">
|
||||
<label class="labelmage">Magic</label>
|
||||
<label class="labeltechnomancer">Resonance</label>
|
||||
<input class="technomancycheckbox" type="checkbox" name="attr_istechnomancer" value="1">
|
||||
<div class="labelmage"><label>Magic</label></div>
|
||||
<div class="labeltechnomancer"><label>Resonance</label></div>
|
||||
</div>
|
||||
<div class="statlabel"><label>Edge</label></div>
|
||||
</div>
|
||||
<div class="statcol2">
|
||||
<div class="statheading"><h4>Base</h4></div>
|
||||
<div class="statheading">
|
||||
<h4>Base</h4>
|
||||
</div>
|
||||
<div class="statinputwrapper"><input type="number" class="statinput" name="attr_bod_base" title="Base Attribute unaugmented"></div>
|
||||
<div class="statinputwrapper"><input type="number" class="statinput" name="attr_agi_base" title="Base Attribute unaugmented"></div>
|
||||
<div class="statinputwrapper"><input type="number" class="statinput" name="attr_rea_base" title="Base Attribute unaugmented"></div>
|
||||
@@ -76,7 +80,9 @@
|
||||
</div>
|
||||
<div class="statcol3">
|
||||
<div class="statsubcol">
|
||||
<div class="statheading"><h4>Bonus</h4></div>
|
||||
<div class="statheading">
|
||||
<h4>Bonus</h4>
|
||||
</div>
|
||||
<div class="statinputwrapper"><input type="number" class="statinput" name="attr_bod_aug" value="0" title="Bonuses from Augmentations"></div>
|
||||
<div class="statinputwrapper"><input type="number" class="statinput" name="attr_agi_aug" value="0" title="Bonuses from Augmentations"></div>
|
||||
<div class="statinputwrapper"><input type="number" class="statinput" name="attr_rea_aug" value="0" title="Bonuses from Augmentations"></div>
|
||||
@@ -88,7 +94,9 @@
|
||||
<div class="statinputwrapper"><input type="number" class="statinput" name="attr_mag_aug" value="0" title="Bonuses from Augmentations"></div>
|
||||
</div>
|
||||
<div class="statsubcol">
|
||||
<div class="statheading"><h4>Total</h4></div>
|
||||
<div class="statheading">
|
||||
<h4>Total</h4>
|
||||
</div>
|
||||
<div class="statinputwrapper"><input type="number" class="statinput" name="attr_bod_total" value="@{bod_base}+@{bod_aug}" title="Base + Bonus" disabled="true"></div>
|
||||
<div class="statinputwrapper"><input type="number" class="statinput" name="attr_agi_total" value="@{agi_base}+@{agi_aug}" title="Base + Bonus" disabled="true"></div>
|
||||
<div class="statinputwrapper"><input type="number" class="statinput" name="attr_rea_total" value="@{rea_base}+@{rea_aug}" title="Base + Bonus" disabled="true"></div>
|
||||
@@ -100,7 +108,9 @@
|
||||
<div class="statinputwrapper"><input type="number" class="statinput" name="attr_mag_total" value="@{mag_base}+@{mag_aug}" title="Base + Bonus" disabled="true"></div>
|
||||
</div>
|
||||
<div class="rollcol">
|
||||
<div class="statheading"><h4>Roll</h4></div>
|
||||
<div class="statheading">
|
||||
<h4>Roll</h4>
|
||||
</div>
|
||||
<div class="statinputwrapper">
|
||||
<button type="action" class="standardroll" name="act_roll" title="Roll Body" value="@{gmroll}&{template:shadowrun}{{name=@{character_name}}}{{roll_name=Body}}{{val1=Body}}{{val1_num=[[@{bod_total}]]}}{{mod_num=[[?{Situational Modifiers|0}]]}}{{edge=@{edgeroll}}}{{edge_num=[[@{edg_total}]]}}{{wounds_num=[[?{Apply Wounds|Yes,1|No,0}*(@{wound_total})]]}}{{sustainedspells=[[?{Apply sustained spells|Yes,1|No,0}*(@{sustainedspells}*2)]]}}{{result=[[(@{bod_total}+?{Situational Modifiers}-?{Apply Wounds}*[[@{wound_total}]]-[[?{Apply sustained spells|Yes,1|No,0}*(@{sustainedspells}*2)]]+[[@{edgn}*@{edg_total}]])@{standardroll}@{edgeroll}]]}}"></button>
|
||||
</div>
|
||||
@@ -187,7 +197,7 @@
|
||||
<div class="specroll"><label>Surprise (R+I)</label></div>
|
||||
<div class="specroll">
|
||||
<input type="number" class="statinput" value="0" placeholder="Bonus" name="attr_surprise_bonus">
|
||||
<button type="action" class="standardroll" name="act_roll" title="Roll Surprise (Reaction+Intuition)" value="@{gmroll}&{template:shadowrun}{{name=@{character_name}}}{{roll_name=Surprise}}{{val1=Reaction}}{{val1_num=[[@{rea_total}]]}}{{val2=Intuition}}{{val2_num=[[@{int_total}]]}}{{val3=Permanent Bonus}}{{val3_num=[[@{surprise_bonus}]]}}{{mod_num=[[?{Situational Modifiers|0}]]}}{{edge=@{edgeroll}}}{{edge_num=[[@{edg_total}]]}}{{wounds_num=[[@{wound_total}]]}}{{sustainedspells=[[@{sustainedspells}*2]]}}{{result=[[(@{rea_total}+@{int_total}+?{Situational Modifiers}-[[@{wound_total}]]-[[@{sustainedspells}*2]]+[[@{edgn}*@{edg_total}]])@{standardroll}@{edgeroll}]]}}"></button>
|
||||
<button type="action" class="standardroll" name="act_roll" title="Roll Surprise (Reaction+Intuition)" value="@{gmroll}&{template:shadowrun}{{name=@{character_name}}}{{roll_name=Surprise}}{{val1=Reaction}}{{val1_num=[[@{rea_total}]]}}{{val2=Intuition}}{{val2_num=[[@{int_total}]]}}{{val3=Permanent Bonus}}{{val3_num=[[@{surprise_bonus}]]}}{{mod_num=[[?{Situational Modifiers|0}]]}}{{edge=@{edgeroll}}}{{edge_num=[[@{edg_total}]]}}{{wounds_num=[[@{wound_total}]]}}{{sustainedspells=[[@{sustainedspells}*2]]}}{{result=[[(@{rea_total}+@{int_total}+?{Situational Modifiers}-[[@{wound_total}]]-[[@{sustainedspells}*2]]+[[@{edgn}*@{edg_total}]])@{standardroll}@{edgeroll}]]}}"></button>
|
||||
</div>
|
||||
<div class="specroll"><label>Composure (C+W)</label></div>
|
||||
<div class="specroll">
|
||||
@@ -7985,7 +7995,7 @@ Can lift overhead (Strength + Nethits) x 5kg}}"></button>
|
||||
</div>
|
||||
<div class="contentMagic">
|
||||
<div class="spells">
|
||||
<input class="technomancycheckbox" type="checkbox" name="attr_istechnomancer" value="1">
|
||||
<input class="technomancycheckbox" type="checkbox" name="attr_istechnomancer" value="1">
|
||||
<h2>Spells</h2>
|
||||
<div> Sustained: <input type="number" class="statinput" name="attr_sustainedspells" value="0"></div>
|
||||
<div class="magiciandrainattribute">
|
||||
@@ -8051,7 +8061,7 @@ Can lift overhead (Strength + Nethits) x 5kg}}"></button>
|
||||
<option value="@{skilldicepool68}">Spell</option>
|
||||
<option value="@{skilldicepool58}">Preparation</option>
|
||||
<option value="@{skilldicepool67}">Ritual</option>
|
||||
<option value="@{skilldicepool42}">Complex Form</option>
|
||||
<option value="@{mag_total}+@{skillrating42}">Complex Form</option>
|
||||
</select>
|
||||
</div>
|
||||
<input type="text" name="attr_spellschool_name" value="@{skillname68}" class="hiddentextfield">
|
||||
@@ -8375,7 +8385,7 @@ make sure to enter what the spell is resisted with">
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="spirites">
|
||||
<input class="technomancycheckbox" type="checkbox" name="attr_istechnomancer" value="1">
|
||||
<input class="technomancycheckbox" type="checkbox" name="attr_istechnomancer" value="1">
|
||||
<div class="magicianinitiation">
|
||||
<h2>Spirits</h2>
|
||||
<div class="spiriterow">
|
||||
@@ -8408,7 +8418,7 @@ make sure to enter what the spell is resisted with">
|
||||
</div>
|
||||
</div>
|
||||
<div class="initiation">
|
||||
<input class="technomancycheckbox" type="checkbox" name="attr_istechnomancer" value="1">
|
||||
<input class="technomancycheckbox" type="checkbox" name="attr_istechnomancer" value="1">
|
||||
<div class="technomancerinitiation">
|
||||
<h2>Submersion</h2>
|
||||
<div class="initiationrow">
|
||||
@@ -8448,7 +8458,7 @@ make sure to enter what the spell is resisted with">
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="spiritestable">
|
||||
<input class="technomancycheckbox" type="checkbox" name="attr_istechnomancer" value="1">
|
||||
<input class="technomancycheckbox" type="checkbox" name="attr_istechnomancer" value="1">
|
||||
<div class="spiriterow">
|
||||
<div class="spiritenamewrapper">
|
||||
<label>Name</label>
|
||||
@@ -16887,11 +16897,27 @@ const asw = (() => {
|
||||
{{#name}}{{name}} rolls{{#roll_name}} {{roll_name}}{{/roll_name}}{{/name}}</th>
|
||||
</tr>
|
||||
{{#subheader}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr><td><div class="sheet-rolltemplate-sectionheading">{{subheader}}</div></td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-sectionheading">{{subheader}}</div>
|
||||
</td>
|
||||
</tr>
|
||||
{{/subheader}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr><td><div class="sheet-rolltemplate-sectionheading">Dicepool</div></td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-sectionheading">Dicepool</div>
|
||||
</td>
|
||||
</tr>
|
||||
{{#val1}}
|
||||
<tr>
|
||||
<td>> {{val1}}({{val1_num}})</td>
|
||||
@@ -16961,36 +16987,66 @@ const asw = (() => {
|
||||
{{#wounds_num}}
|
||||
{{#^rollTotal() wounds_num 0}}
|
||||
<tr>
|
||||
<td>> Woundpenalty({{wounds_num}})</td>
|
||||
<td>> Woundpenalty({{wounds_num}})</td>
|
||||
</tr>
|
||||
{{/^rollTotal() wounds_num 0}}
|
||||
{{/wounds_num}}
|
||||
{{#edge}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr><td><div class="sheet-rolltemplate-sectionheading">Edge</div></td></tr>
|
||||
<tr>
|
||||
<td><div class="sheet-rolltemplate-limit">> Edge({{edge_num}})</div></td>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-sectionheading">Edge</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-limit">> Edge({{edge_num}})</div>
|
||||
</td>
|
||||
</tr>
|
||||
{{/edge}}
|
||||
{{^edge}}
|
||||
{{#limit}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr><td><div class="sheet-rolltemplate-sectionheading">Limit</div></td></tr>
|
||||
<tr>
|
||||
<td><div class="sheet-rolltemplate-limit">> {{limit}}({{limit_num}})</div></td>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-sectionheading">Limit</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-limit">> {{limit}}({{limit_num}})</div>
|
||||
</td>
|
||||
</tr>
|
||||
{{#limit_mod}}
|
||||
{{#^rollTotal() limit_mod 0}}
|
||||
<tr>
|
||||
<td><div class="sheet-rolltemplate-limit">> Modifiers({{limit_mod}})</div></td>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-limit">> Modifiers({{limit_mod}})</div>
|
||||
</td>
|
||||
</tr>
|
||||
{{/^rollTotal() limit_mod 0}}
|
||||
{{/limit_mod}}
|
||||
{{/limit}}
|
||||
{{/edge}}
|
||||
{{#result}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr><td><div class="sheet-rolltemplate-sectionheading">Result</div></td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-sectionheading">Result</div>
|
||||
</td>
|
||||
</tr>
|
||||
{{#rollGreater() result 1}}
|
||||
<tr class="sheet-rolltemplate-results-success">
|
||||
<td class="result">{{result}} Successes</td>
|
||||
@@ -17007,13 +17063,21 @@ const asw = (() => {
|
||||
</tr>
|
||||
{{/rollTotal() result 0}}
|
||||
{{#rollBetween() computed::glitch 1 1}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="sheet-rolltemplate-results-fail">
|
||||
<td class="result">Glitch!</td>
|
||||
</tr>
|
||||
{{/rollBetween() computed::glitch 1 1}}
|
||||
{{#rollBetween() computed::glitch 2 2}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="sheet-rolltemplate-results-fail">
|
||||
<td class="result">Critical Glitch!</td>
|
||||
</tr>
|
||||
@@ -17021,8 +17085,16 @@ const asw = (() => {
|
||||
{{/result}}
|
||||
|
||||
{{#initiative}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr><td><div class="sheet-rolltemplate-sectionheading">Result</div></td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-sectionheading">Result</div>
|
||||
</td>
|
||||
</tr>
|
||||
{{#rollGreater() initiative 10}}
|
||||
<tr class="sheet-rolltemplate-results-success">
|
||||
<td class="result">{{initiative}} Initiative</td>
|
||||
@@ -17055,10 +17127,20 @@ const asw = (() => {
|
||||
</tr>
|
||||
{{/after3}}
|
||||
{{#description}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr><td><div class="sheet-rolltemplate-sectionheading">Description</div></td></tr>
|
||||
<tr>
|
||||
<td><div class="sheet-rolltemplate-description">{{description}}</div></td>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-sectionheading">Description</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-description">{{description}}</div>
|
||||
</td>
|
||||
</tr>
|
||||
{{/description}}
|
||||
</table>
|
||||
@@ -17080,11 +17162,27 @@ const asw = (() => {
|
||||
</th>
|
||||
</tr>
|
||||
{{#subheader}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr><td><div class="sheet-rolltemplate-sectionheading">{{subheader}}</div></td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-sectionheading">{{subheader}}</div>
|
||||
</td>
|
||||
</tr>
|
||||
{{/subheader}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr><td><div class="sheet-rolltemplate-sectionheading">Dicepool</div></td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-sectionheading">Dicepool</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>> Dice Pool({{dice_num}})</td>
|
||||
</tr>
|
||||
@@ -17106,28 +17204,56 @@ const asw = (() => {
|
||||
{{#wounds_num}}
|
||||
{{#^rollTotal() wounds_num 0}}
|
||||
<tr>
|
||||
<td>> Woundpenalty({{wounds_num}})</td>
|
||||
<td>> Woundpenalty({{wounds_num}})</td>
|
||||
</tr>
|
||||
{{/^rollTotal() wounds_num 0}}
|
||||
{{/wounds_num}}
|
||||
{{#edge}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr><td><div class="sheet-rolltemplate-sectionheading">Edge</div></td></tr>
|
||||
<tr>
|
||||
<td><div class="sheet-rolltemplate-limit">> Edge({{edge_num}})</div></td>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-sectionheading">Edge</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-limit">> Edge({{edge_num}})</div>
|
||||
</td>
|
||||
</tr>
|
||||
{{/edge}}
|
||||
{{^edge}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr><td><div class="sheet-rolltemplate-sectionheading">Limit</div></td></tr>
|
||||
<tr>
|
||||
<td><div class="sheet-rolltemplate-limit">> Limit({{limit_num}})</div></td>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-sectionheading">Limit</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-limit">> Limit({{limit_num}})</div>
|
||||
</td>
|
||||
</tr>
|
||||
{{/edge}}
|
||||
|
||||
{{#result}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr><td><div class="sheet-rolltemplate-sectionheading">Result</div></td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-sectionheading">Result</div>
|
||||
</td>
|
||||
</tr>
|
||||
{{#rollGreater() result 1}}
|
||||
<tr class="sheet-rolltemplate-results-success">
|
||||
<td class="result">{{result}} Successes</td>
|
||||
@@ -17144,13 +17270,21 @@ const asw = (() => {
|
||||
</tr>
|
||||
{{/rollTotal() result 0}}
|
||||
{{#rollBetween() computed::glitch 1 1}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="sheet-rolltemplate-results-fail">
|
||||
<td class="result">Glitch!</td>
|
||||
</tr>
|
||||
{{/rollBetween() computed::glitch 1 1}}
|
||||
{{#rollBetween() computed::glitch 2 2}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="sheet-rolltemplate-results-fail">
|
||||
<td class="result">Critical Glitch!</td>
|
||||
</tr>
|
||||
@@ -17176,11 +17310,27 @@ const asw = (() => {
|
||||
{{#name}}{{name}} rolls{{#roll_name}} {{roll_name}}{{/roll_name}}{{/name}}</th>
|
||||
</tr>
|
||||
{{#subheader}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr><td><div class="sheet-rolltemplate-sectionheading">{{subheader}}</div></td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-sectionheading">{{subheader}}</div>
|
||||
</td>
|
||||
</tr>
|
||||
{{/subheader}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr><td><div class="sheet-rolltemplate-sectionheading">Dicepool</div></td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-sectionheading">Dicepool</div>
|
||||
</td>
|
||||
</tr>
|
||||
{{#magic}}
|
||||
<tr>
|
||||
<td>> {{magic}}({{magic_num}})</td>
|
||||
@@ -17233,28 +17383,50 @@ const asw = (() => {
|
||||
{{#wounds_num}}
|
||||
{{#^rollTotal() wounds_num 0}}
|
||||
<tr>
|
||||
<td>> Woundpenalty({{wounds_num}})</td>
|
||||
<td>> Woundpenalty({{wounds_num}})</td>
|
||||
</tr>
|
||||
{{/^rollTotal() wounds_num 0}}
|
||||
{{/wounds_num}}
|
||||
{{#edge}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr><td><div class="sheet-rolltemplate-sectionheading">Edge</div></td></tr>
|
||||
<tr>
|
||||
<td><div class="sheet-rolltemplate-limit">> Edge({{edge_num}})</div></td>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-sectionheading">Edge</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-limit">> Edge({{edge_num}})</div>
|
||||
</td>
|
||||
</tr>
|
||||
{{/edge}}
|
||||
{{^edge}}
|
||||
{{#limit}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr><td><div class="sheet-rolltemplate-sectionheading">Limit</div></td></tr>
|
||||
<tr>
|
||||
<td><div class="sheet-rolltemplate-limit">> {{limit}}({{limit_num}})</div></td>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-sectionheading">Limit</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-limit">> {{limit}}({{limit_num}})</div>
|
||||
</td>
|
||||
</tr>
|
||||
{{#limit_mod}}
|
||||
{{#^rollTotal() limit_mod 0}}
|
||||
<tr>
|
||||
<td><div class="sheet-rolltemplate-limit">> Modifiers({{limit_mod}})</div></td>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-limit">> Modifiers({{limit_mod}})</div>
|
||||
</td>
|
||||
</tr>
|
||||
{{/^rollTotal() limit_mod 0}}
|
||||
{{/limit_mod}}
|
||||
@@ -17262,8 +17434,16 @@ const asw = (() => {
|
||||
{{/edge}}
|
||||
|
||||
{{#result}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr><td><div class="sheet-rolltemplate-sectionheading">Result</div></td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-sectionheading">Result</div>
|
||||
</td>
|
||||
</tr>
|
||||
{{#rollGreater() result 1}}
|
||||
<tr class="sheet-rolltemplate-results-success">
|
||||
<td class="result">{{result}} Successes</td>
|
||||
@@ -17280,21 +17460,37 @@ const asw = (() => {
|
||||
</tr>
|
||||
{{/rollTotal() result 0}}
|
||||
{{#rollBetween() computed::glitch 1 1}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="sheet-rolltemplate-results-fail">
|
||||
<td class="result">Glitch!</td>
|
||||
</tr>
|
||||
{{/rollBetween() computed::glitch 1 1}}
|
||||
{{#rollBetween() computed::glitch 2 2}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="sheet-rolltemplate-results-fail">
|
||||
<td class="result">Critical Glitch!</td>
|
||||
</tr>
|
||||
{{/rollBetween() computed::glitch 2 2}}
|
||||
{{/result}}
|
||||
{{#nethits}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr><td><div class="sheet-rolltemplate-sectionheading">Nethits</div></td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-sectionheading">Nethits</div>
|
||||
</td>
|
||||
</tr>
|
||||
{{#rollGreater() computed::nethits 0}}
|
||||
<tr class="sheet-rolltemplate-results-success">
|
||||
<td class="result">{{computed::nethits}} Nethits</td>
|
||||
@@ -17328,10 +17524,20 @@ const asw = (() => {
|
||||
</tr>
|
||||
|
||||
{{#description}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr><td><div class="sheet-rolltemplate-sectionheading">Description</div></td></tr>
|
||||
<tr>
|
||||
<td><div class="sheet-rolltemplate-description">{{description}}</div></td>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-sectionheading">Description</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-description">{{description}}</div>
|
||||
</td>
|
||||
</tr>
|
||||
{{/description}}
|
||||
</table>
|
||||
@@ -17344,8 +17550,16 @@ const asw = (() => {
|
||||
{{name}} rolls to Dodge {{attacker_name}}
|
||||
</th>
|
||||
</tr>
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr><td><div class="sheet-rolltemplate-sectionheading">Dicepool</div></td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-sectionheading">Dicepool</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>> Reaction({{rea}})</td>
|
||||
</tr>
|
||||
@@ -17375,20 +17589,38 @@ const asw = (() => {
|
||||
{{#wounds_num}}
|
||||
{{#^rollTotal() wounds_num 0}}
|
||||
<tr>
|
||||
<td>> Woundpenalty({{wounds_num}})</td>
|
||||
<td>> Woundpenalty({{wounds_num}})</td>
|
||||
</tr>
|
||||
{{/^rollTotal() wounds_num 0}}
|
||||
{{/wounds_num}}
|
||||
{{#edge}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr><td><div class="sheet-rolltemplate-sectionheading">Edge</div></td></tr>
|
||||
<tr>
|
||||
<td><div class="sheet-rolltemplate-limit">> Edge({{edge_num}})</div></td>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-sectionheading">Edge</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-limit">> Edge({{edge_num}})</div>
|
||||
</td>
|
||||
</tr>
|
||||
{{/edge}}
|
||||
{{#result}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr><td><div class="sheet-rolltemplate-sectionheading">Result</div></td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-sectionheading">Result</div>
|
||||
</td>
|
||||
</tr>
|
||||
{{#rollGreater() result 1}}
|
||||
<tr class="sheet-rolltemplate-results-success">
|
||||
<td class="result">{{result}} Successes</td>
|
||||
@@ -17406,8 +17638,16 @@ const asw = (() => {
|
||||
{{/rollTotal() result 0}}
|
||||
{{/result}}
|
||||
{{#nethits}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr><td><div class="sheet-rolltemplate-sectionheading">Attacker Nethits</div></td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-sectionheading">Attacker Nethits</div>
|
||||
</td>
|
||||
</tr>
|
||||
{{#rollGreater() computed::nethits 0}}
|
||||
<tr class="sheet-rolltemplate-results-fail">
|
||||
<td class="result">{{computed::nethits}} Nethits</td>
|
||||
@@ -17444,8 +17684,16 @@ const asw = (() => {
|
||||
{{name}} rolls to Absorb Damage
|
||||
</th>
|
||||
</tr>
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr><td><div class="sheet-rolltemplate-sectionheading">Dicepool</div></td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-sectionheading">Dicepool</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>> Body({{body}})</td>
|
||||
</tr>
|
||||
@@ -17471,15 +17719,33 @@ const asw = (() => {
|
||||
{{/^rollTotal() mod 0}}
|
||||
{{/mod}}
|
||||
{{#edge}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr><td><div class="sheet-rolltemplate-sectionheading">Edge</div></td></tr>
|
||||
<tr>
|
||||
<td><div class="sheet-rolltemplate-limit">> Edge({{edge_num}})</div></td>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-sectionheading">Edge</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-limit">> Edge({{edge_num}})</div>
|
||||
</td>
|
||||
</tr>
|
||||
{{/edge}}
|
||||
{{#result}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr><td><div class="sheet-rolltemplate-sectionheading">Result</div></td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-sectionheading">Result</div>
|
||||
</td>
|
||||
</tr>
|
||||
{{#rollGreater() result 1}}
|
||||
<tr class="sheet-rolltemplate-results-success">
|
||||
<td class="result">{{result}} Successes</td>
|
||||
@@ -17497,8 +17763,16 @@ const asw = (() => {
|
||||
{{/rollTotal() result 0}}
|
||||
{{/result}}
|
||||
{{#dmgTaken}}
|
||||
<tr><td><div class="sheet-rolltemplate-spacer"> </div></td></tr>
|
||||
<tr><td><div class="sheet-rolltemplate-sectionheading">Damage taken</div></td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-spacer"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="sheet-rolltemplate-sectionheading">Damage taken</div>
|
||||
</td>
|
||||
</tr>
|
||||
{{#rollGreater() computed::dmgTaken 0}}
|
||||
<tr class="sheet-rolltemplate-results-fail">
|
||||
<td class="result">{{computed::dmgTaken}} {{computed::dmgType}}</td>
|
||||
|
||||
Reference in New Issue
Block a user