Fixing int/will error for tracking and perception (#6420)

This commit is contained in:
Gerdofal
2020-05-11 12:58:11 -04:00
committed by GitHub
parent 7f9b2ae237
commit 8b9fff442f
+5 -5
View File
@@ -1,5 +1,5 @@
<!--
Updated 10/10/2019
Updated 05/09/2019
-->
@@ -330,7 +330,7 @@ on("clicked:clearmods", function() {
<!-- BEGIN SKILL ROW -->
<div class="sectionbox widthpercent100">
<button class="invisible-button" type="roll" value="&{template:jsk1}{{critroll=[[1d10]]}}{{templatecolor=@{templatecolor}}} {{charactername=@{charactername}}} {{header=Perception}} {{roll=[[@{will} + @{perceptionroll} + @{finalmodifier} + 1d10]]}}">Perception</button>
<button class="invisible-button" type="roll" value="&{template:jsk1}{{critroll=[[1d10]]}}{{templatecolor=@{templatecolor}}} {{charactername=@{charactername}}} {{header=Perception}} {{roll=[[@{int} + @{perceptionroll} + @{finalmodifier} + 1d10]]}}">Perception</button>
<div class="skillvalue">
<input type="number" name="attr_perception" value="0">
</div>
@@ -341,7 +341,7 @@ on("clicked:clearmods", function() {
<!-- BEGIN SKILL ROW -->
<div class="sectionbox widthpercent100">
<button class="invisible-button" type="roll" value="&{template:jsk1}{{critroll=[[1d10]]}}{{templatecolor=@{templatecolor}}} {{charactername=@{charactername}}} {{header=Tracking}} {{roll=[[@{will} + @{trackingroll} + @{finalmodifier} + 1d10]]}}">Tracking</button>
<button class="invisible-button" type="roll" value="&{template:jsk1}{{critroll=[[1d10]]}}{{templatecolor=@{templatecolor}}} {{charactername=@{charactername}}} {{header=Tracking}} {{roll=[[@{int} + @{trackingroll} + @{finalmodifier} + 1d10]]}}">Tracking</button>
<div class="skillvalue">
<input type="number" name="attr_tracking" value="0">
</div>
@@ -835,8 +835,8 @@ on("clicked:clearmods", function() {
<button type="roll" value="&{template:jsk1}{{critroll=[[1d10]]}}{{templatecolor=@{templatecolor}}} {{charactername=@{charactername}}} {{header=Marksmanship}} {{roll=[[@{ref} + @{marksmanshiproll} + @{finalmodifier} + 1d10]]}}">Marksmanship</button>
<h4>Awareness Skills</h4>
<button type="roll" value="&{template:jsk1}{{critroll=[[1d10]]}}{{templatecolor=@{templatecolor}}} {{charactername=@{charactername}}} {{header=Concentration}} {{roll=[[@{will} + @{concentrationroll} + @{finalmodifier} + 1d10]]}}">Concentration</button>
<button type="roll" value="&{template:jsk1}{{critroll=[[1d10]]}}{{templatecolor=@{templatecolor}}} {{charactername=@{charactername}}} {{header=Perception}} {{roll=[[@{will} + @{perceptionroll} + @{finalmodifier} + 1d10]]}}">Perception</button>
<button type="roll" value="&{template:jsk1}{{critroll=[[1d10]]}}{{templatecolor=@{templatecolor}}} {{charactername=@{charactername}}} {{header=Tracking}} {{roll=[[@{will} + @{trackingroll} + @{finalmodifier} + 1d10]]}}">Tracking</button>
<button type="roll" value="&{template:jsk1}{{critroll=[[1d10]]}}{{templatecolor=@{templatecolor}}} {{charactername=@{charactername}}} {{header=Perception}} {{roll=[[@{int} + @{perceptionroll} + @{finalmodifier} + 1d10]]}}">Perception</button>
<button type="roll" value="&{template:jsk1}{{critroll=[[1d10]]}}{{templatecolor=@{templatecolor}}} {{charactername=@{charactername}}} {{header=Tracking}} {{roll=[[@{int} + @{trackingroll} + @{finalmodifier} + 1d10]]}}">Tracking</button>
<h4>Control Skills</h4>
<button type="roll" value="&{template:jsk1}{{critroll=[[1d10]]}}{{templatecolor=@{templatecolor}}} {{charactername=@{charactername}}} {{header=Driving}} {{roll=[[@{ref} + @{drivingroll} + @{finalmodifier} + 1d10]]}}">Driving</button>
<h4>Body Skills</h4>