Attempt number 2 at fixing Focus Power Tests.

Sheet is not properly taking modifiers into account when rolling for Willpower and Perception-based Focus Power tests. Attempted fix.
This commit is contained in:
Jonathan Gilbert
2017-03-01 23:05:08 +13:00
committed by GitHub
parent ab396a8be6
commit eff097c93b
+2 -2
View File
@@ -2358,8 +2358,8 @@
<div class="sheet-wrapper">
<h3>Focus Power Test</h3>
<div class="sheet-row">
<div class="sheet-item" style="width: 33%; "><button name="roll_Willpower" type="roll" value="/em channels their power [[1d100]] Target [[ @{Willpower} + ((@{PsyRating} - ?{Psy Use?|1}) * 10) + ?{Modifier|0}]]."> <label>Willpower</label> </button></div>
<div class="sheet-item" style="width: 33%; "><button name="roll_Perception" type="roll" value="/em channels their power [[1d100]] Target [[ @{Perception} + ((@{PsyRating} - ?{Psy Use?|1}) * 10) + ?{Modifier|0}]]."> <label>Perception</label> </button></div>
<div class="sheet-item" style="width: 33%; "><button name="roll_Willpower" type="roll" value="/em channels their power [[1d100]] Target [[@{Willpower} + ((@{PsyRating} - ?{Psy Use?|1}) * 10) + ?{Modifier|0}]]."> <label>Willpower</label> </button></div>
<div class="sheet-item" style="width: 33%; "><button name="roll_Perception" type="roll" value="/em channels their power [[1d100]] Target [[@{Perception} + ((@{PsyRating} - ?{Psy Use?|1}) * 10) + ?{Modifier|0}]]."> <label>Perception</label> </button></div>
<div class="sheet-item" style="width: 33%;"><button name="roll_PsyniscienceCharacteristic" type="roll" value="/em channels their power [[1d100]] Target [[@{PsyniscienceCharacteristic} + ((@{PsyRating} - ?{Psy Use?|1}) * 10) + ?{Modifier|0}]]."> <label>Psyniscience</label> </button></div>
</div>
<br>