Added Initative + Minor Fixes / Tweaks

Added a seperate "roll for initative" button that automatically adds
tokens to the turn tracker.

Also:
* Added the epic dice token limit to the sheet itself.
* Renamed character name field so it hooks up correctly with the one in
the bio correctly.
This commit is contained in:
Lewis Wakeford
2016-09-24 18:51:54 +01:00
parent a6eac31c22
commit 184822e7de
2 changed files with 15 additions and 5 deletions
+2 -2
View File
@@ -134,7 +134,7 @@
-moz-appearance:textfield;
}
.charsheet .sheet-wrapper .sheet-inlineinput, .charsheet .sheet-wrapper .sheet-inlineinput input {
.charsheet .sheet-wrapper .sheet-inlineinput, .charsheet .sheet-wrapper input.sheet-inlineinput {
display: inline;
width: auto;
}
@@ -219,7 +219,7 @@
}
.charsheet .sheet-wrapper .sheet-size-eight {
width: calc(40% - 5%);
width: calc(40% - 0.5%);
}
.charsheet .sheet-wrapper .sheet-size-nine {
+13 -3
View File
@@ -66,7 +66,7 @@ By using two seperate rolls we can use Roll Templates to show / hide only one ro
<div class="sheet-wrapper">
<img src = "http://lostcatgames.com/uploads/3/9/4/1/3941737/2698987.jpg" width="300">
<div class="sheet-row sheet-sectionhead">
<label>BASIC INFO</label>
</div>
@@ -98,7 +98,7 @@ By using two seperate rolls we can use Roll Templates to show / hide only one ro
</div>
<div class="sheet-row">
<div class="sheet-col sheet-size-six">
<input type="text" name="attr_Display-Name" />
<input type="text" name="attr_character_name" />
</div>
<div class="sheet-col sheet-size-two">
<input type="number" name="attr_Montage-Count" value="0"/>
@@ -113,7 +113,7 @@ By using two seperate rolls we can use Roll Templates to show / hide only one ro
<input type="number" name="attr_TotalHP" value="30"/>
</div>
<div class="sheet-col sheet-size-four">
<input type="number" name="attr_EpicDiceToken-Count" value="0"/>
<input class = "sheet-inlineinputnumber" type="number" name="attr_EpicDiceToken-Count" value="0"/> (MAX OF 5)
</div>
</div>
<div class="sheet-row">
@@ -388,6 +388,16 @@ By using two seperate rolls we can use Roll Templates to show / hide only one ro
</div>
</div>
<!-- INITIATIVE ROLL -->
<div class="sheet-row">
<div class="sheet-col sheet-statname sheet-size-eight">
<label>ROLL INITIATIVE (SELECT YOUR TOKEN FIRST): </label>
</div>
<div class="sheet-col sheet-size-two">
<button type='roll' value='[[ [[ [[{{?{EPIC DICE|0}, -1}>?{BLOOPER DICE|0}}]] * ([[1+?{EPIC DICE|0}-?{BLOOPER DICE|0}]]d20kh1 + ?{Modifier|0} + @{ATH-Total}) ]] + [[ [[{{?{BLOOPER DICE|0}, -1}>[[?{EPIC DICE|0}+1]]}]] * ([[1+?{BLOOPER DICE|0}-?{EPIC DICE|0}]]d20kl1 +?{Modifier|0} + @{ATH-Total}) ]]&{tracker} ]]' name='roll_INIT'></button>
</div>
</div>
<!-- FORTES -->
<div class="sheet-row">
<div class="sheet-col sheet-statname sheet-size-three">