fix init roll
This commit is contained in:
@@ -50,9 +50,9 @@
|
||||
<label>Character Points <input type="number" name="attr_characterPoints" class="sheet-smallshortnumber" min="0" value="0"/></label> <!---On char creation everyone starts with 5 CP --->
|
||||
</div>
|
||||
<div class='sheet-col'>
|
||||
<label for="Woundstatus" style="text-decoration:underline;">
|
||||
<label style="text-decoration:underline;">
|
||||
Wound Status
|
||||
<select name="attr_WoundStatus" class="sheet-mediumselect" class="sheet-left" id="WoundLevel">
|
||||
<select name="attr_WoundStatus" class="sheet-mediumselect" class="sheet-left" >
|
||||
<option value="0" selected="selected">Healthy</option>
|
||||
<option value="-1">Stunned</option>
|
||||
<option value="-1">Wounded</option>
|
||||
@@ -64,7 +64,7 @@
|
||||
<div class="sheet-right">
|
||||
<label>Initiative bonus</label><input type="number" name="attr_initiative" class="sheet-smallnumber sheet-shortnumber" min="0" value="0"/>D+<input type="number" name="attr_initiativepip" class="sheet-smallnumber sheet-shortnumber" min="0" max="2" value="0"/>
|
||||
</div>
|
||||
<button class="sheet-d6-dice" type="roll" value="&{template:default} {{name=Initiative}} {{Roll=[[(@{perception} + @{initiative} + @{WoundLevel} +@{Force_ControlPain_ResistStun} + @{Force_Up} + ?{Dice mods|0} -1)d6cf0cs7 + @{perceptionpip} + @{initiativepip} + ?{Other Mods(pip)|0} + 1d6!cf1cs6 &{tracker}]]}}">Initiative</button>
|
||||
<button class="sheet-d6-dice" type="roll" value="&{template:default} {{name=Initiative}} {{Roll=[[(@{perception} + @{initiative} + @{WoundStatus} +@{Force_ControlPain_ResistStun} + @{Force_Up} + ?{Dice mods|0} -1)d6cf0cs7 + @{perceptionpip} + @{initiativepip} + ?{Other Mods(pip)|0} + 1d6!cf1cs6 &{tracker}]]}}">Initiative</button>
|
||||
<button class="sheet-d6-dice" type="roll" value="&{template:default} {{name=?{Roll Name}}} {{Roll=[[{(?{Number of dice|0} - 1)d6cf0cs7 + ?{Number of pip|0},1d6!cf1cs6}]]}}">Custom Roll(no modifiers)</button>
|
||||
<button class="sheet-d6-dice" type="roll" value="&{template:default} {{name=Extra Dice}} {{Roll=[[{?{Number of extra dice|0}d6cf0cs7}]]}}">Extra Dice(no wild die)</button>
|
||||
<button class="sheet-d6-dice" type="roll" value="&{template:default} {{name=Character points roll}} {{Roll=[[?{Number of char points to spend on roll|1|2|3|4|5}d6!cf0cs6]]}}">Character points roll</button>
|
||||
|
||||
Reference in New Issue
Block a user