Brute forced hit location
I'm so sorry baby, the community said it needed to be done also credit to ChtiKenny for a shortened regex
This commit is contained in:
@@ -1838,8 +1838,8 @@
|
||||
|
||||
<h3>Auto Roll Hit Locations</h3>
|
||||
<select name='attr_settings_hitroll' class='full_width edge_padding'>
|
||||
<option value='{{loc=[[1d100]]}}'>Automatically roll hit locations from an independent d100</option>
|
||||
<option value=' ' selected='selected'>Don't automatically roll hit locations</option>
|
||||
<option value='{{loc=}}' selected='selected'>Automatically roll hit locations</option>
|
||||
<option value=' '>Don't automatically roll hit locations</option>
|
||||
</select>
|
||||
<br>
|
||||
|
||||
@@ -1860,7 +1860,7 @@
|
||||
<h3>Vehicle Sheet</h3>
|
||||
<label class='text_centered bttn_top_padding'><input type='checkbox' name='attr_vehicle_sheet' class='collapsible_entity_switch select_button hidden' /><span class='select_text'>Vehicle</span></label>
|
||||
<br>
|
||||
|
||||
<!--
|
||||
<label title='Toggles Export text' class='text_centered bttn_top_padding'><input type='checkbox' name='attr_exportimport' value='1' class='collapsible_entity_switch select_button hidden' /><span class='select_text'>Export Sheet</span></label>
|
||||
<label title='Toggles Import area' class='text_centered bttn_top_padding'><input type='checkbox' name='attr_exportimport' value='2' class='collapsible_entity_switch select_button hidden' /><span class='select_text'>Import Sheet</span></label>
|
||||
<!-- TODO: prep the Exporter -->
|
||||
@@ -2940,7 +2940,7 @@
|
||||
* @param {string} source row id of the weapon
|
||||
*/
|
||||
const calcDmg = function (sources, fields) {
|
||||
var redice = /^(\d+)?(d\d+)\s?((?:kh?\d+)?(?:kl\d+)?(?:dl?\d+)?(?:dh\d+)?\s?(?:[\+|-]\d+)?)?/;
|
||||
var redice = /^(\d+)?(d\d+)(.*)?/;
|
||||
|
||||
getAttrs(fields, v => {
|
||||
let attr = {};
|
||||
@@ -3879,20 +3879,429 @@
|
||||
{{#loc}}
|
||||
{{^attack}}<div class="template-content template-round">{{/attack}}
|
||||
{{#attack}} <div class="template-content">{{/attack}}
|
||||
<div class="template-row template-center template-break">Hit Location {{loc}}</div>
|
||||
<div class="template-row template-center">
|
||||
{{#rollBetween() loc 1 10}} HEAD {{/rollBetween() loc 1 10}}
|
||||
{{#rollBetween() loc 11 20}} RIGHT ARM {{/rollBetween() loc 11 20}}
|
||||
{{#rollBetween() loc 21 30}} LEFT ARM {{/rollBetween() loc 21 30}}
|
||||
{{#rollBetween() loc 31 70}} BODY {{/rollBetween() loc 31 70}}
|
||||
{{#rollBetween() loc 71 85}} RIGHT LEG {{/rollBetween() loc 71 85}}
|
||||
{{#rollBetween() loc 86 100}} LEFT LEG {{/rollBetween() loc 86 100}}
|
||||
|
||||
{{#rollBetween() loc 1 20}} / MOTIVE SYSTEM {{/rollBetween() loc 1 20}}
|
||||
{{#rollBetween() loc 21 60}} / HULL {{/rollBetween() loc 21 60}}
|
||||
{{#rollBetween() loc 61 80}} / WEAPON {{/rollBetween() loc 61 80}}
|
||||
{{#rollBetween() loc 81 100}} / TURRET {{/rollBetween() loc 81 100}}
|
||||
</div>
|
||||
<!-- Hit location: Head -->
|
||||
{{#rollTotal() roll 10}}
|
||||
<div class="template-row template-center template-break">Hit Location: 01</div>
|
||||
<div class="template-row template-center">HEAD / MOTIVE SYSTEM</div>
|
||||
{{/rollTotal() roll 10}}
|
||||
{{#rollTotal() roll 20}}
|
||||
<div class="template-row template-center template-break">Hit Location: 02</div>
|
||||
<div class="template-row template-center">HEAD / MOTIVE SYSTEM</div>
|
||||
{{/rollTotal() roll 20}}
|
||||
{{#rollTotal() roll 30}}
|
||||
<div class="template-row template-center template-break">Hit Location: 03</div>
|
||||
<div class="template-row template-center">HEAD / MOTIVE SYSTEM</div>
|
||||
{{/rollTotal() roll 30}}
|
||||
{{#rollTotal() roll 40}}
|
||||
<div class="template-row template-center template-break">Hit Location: 04</div>
|
||||
<div class="template-row template-center">HEAD / MOTIVE SYSTEM</div>
|
||||
{{/rollTotal() roll 40}}
|
||||
{{#rollTotal() roll 50}}
|
||||
<div class="template-row template-center template-break">Hit Location: 05</div>
|
||||
<div class="template-row template-center">HEAD / MOTIVE SYSTEM</div>
|
||||
{{/rollTotal() roll 50}}
|
||||
{{#rollTotal() roll 60}}
|
||||
<div class="template-row template-center template-break">Hit Location: 06</div>
|
||||
<div class="template-row template-center">HEAD / MOTIVE SYSTEM</div>
|
||||
{{/rollTotal() roll 60}}
|
||||
{{#rollTotal() roll 70}}
|
||||
<div class="template-row template-center template-break">Hit Location: 07</div>
|
||||
<div class="template-row template-center">HEAD / MOTIVE SYSTEM</div>
|
||||
{{/rollTotal() roll 70}}
|
||||
{{#rollTotal() roll 80}}
|
||||
<div class="template-row template-center template-break">Hit Location: 08</div>
|
||||
<div class="template-row template-center">HEAD / MOTIVE SYSTEM</div>
|
||||
{{/rollTotal() roll 80}}
|
||||
{{#rollTotal() roll 90}}
|
||||
<div class="template-row template-center template-break">Hit Location: 09</div>
|
||||
<div class="template-row template-center">HEAD / MOTIVE SYSTEM</div>
|
||||
{{/rollTotal() roll 90}}
|
||||
{{#rollTotal() roll 1}}
|
||||
<div class="template-row template-center template-break">Hit Location: 10</div>
|
||||
<div class="template-row template-center">HEAD / MOTIVE SYSTEM</div>
|
||||
{{/rollTotal() roll 1}}
|
||||
<!-- Hit Location: Right Arm -->
|
||||
{{#rollTotal() roll 11}}
|
||||
<div class="template-row template-center template-break">Hit Location: 11</div>
|
||||
<div class="template-row template-center">RIGHT ARM / MOTIVE SYSTEM</div>
|
||||
{{/rollTotal() roll 11}}
|
||||
{{#rollTotal() roll 21}}
|
||||
<div class="template-row template-center template-break">Hit Location: 12</div>
|
||||
<div class="template-row template-center">RIGHT ARM / MOTIVE SYSTEM</div>
|
||||
{{/rollTotal() roll 21}}
|
||||
{{#rollTotal() roll 31}}
|
||||
<div class="template-row template-center template-break">Hit Location: 13</div>
|
||||
<div class="template-row template-center">RIGHT ARM / MOTIVE SYSTEM</div>
|
||||
{{/rollTotal() roll 31}}
|
||||
{{#rollTotal() roll 41}}
|
||||
<div class="template-row template-center template-break">Hit Location: 14</div>
|
||||
<div class="template-row template-center">RIGHT ARM / MOTIVE SYSTEM</div>
|
||||
{{/rollTotal() roll 41}}
|
||||
{{#rollTotal() roll 51}}
|
||||
<div class="template-row template-center template-break">Hit Location: 15</div>
|
||||
<div class="template-row template-center">RIGHT ARM / MOTIVE SYSTEM</div>
|
||||
{{/rollTotal() roll 51}}
|
||||
{{#rollTotal() roll 61}}
|
||||
<div class="template-row template-center template-break">Hit Location: 16</div>
|
||||
<div class="template-row template-center">RIGHT ARM / MOTIVE SYSTEM</div>
|
||||
{{/rollTotal() roll 61}}
|
||||
{{#rollTotal() roll 71}}
|
||||
<div class="template-row template-center template-break">Hit Location: 17</div>
|
||||
<div class="template-row template-center">RIGHT ARM / MOTIVE SYSTEM</div>
|
||||
{{/rollTotal() roll 71}}
|
||||
{{#rollTotal() roll 81}}
|
||||
<div class="template-row template-center template-break">Hit Location: 18</div>
|
||||
<div class="template-row template-center">RIGHT ARM / MOTIVE SYSTEM</div>
|
||||
{{/rollTotal() roll 81}}
|
||||
{{#rollTotal() roll 91}}
|
||||
<div class="template-row template-center template-break">Hit Location: 19</div>
|
||||
<div class="template-row template-center">RIGHT ARM / MOTIVE SYSTEM</div>
|
||||
{{/rollTotal() roll 91}}
|
||||
{{#rollTotal() roll 2}}
|
||||
<div class="template-row template-center template-break">Hit Location: 20</div>
|
||||
<div class="template-row template-center">RIGHT ARM / MOTIVE SYSTEM</div>
|
||||
{{/rollTotal() roll 2}}
|
||||
<!-- Hit Location: Left Arm -->
|
||||
{{#rollTotal() roll 12}}
|
||||
<div class="template-row template-center template-break">Hit Location: 21</div>
|
||||
<div class="template-row template-center">LEFT ARM / HULL</div>
|
||||
{{/rollTotal() roll 12}}
|
||||
{{#rollTotal() roll 22}}
|
||||
<div class="template-row template-center template-break">Hit Location: 22</div>
|
||||
<div class="template-row template-center">LEFT ARM / HULL</div>
|
||||
{{/rollTotal() roll 22}}
|
||||
{{#rollTotal() roll 32}}
|
||||
<div class="template-row template-center template-break">Hit Location: 23</div>
|
||||
<div class="template-row template-center">LEFT ARM / HULL</div>
|
||||
{{/rollTotal() roll 32}}
|
||||
{{#rollTotal() roll 42}}
|
||||
<div class="template-row template-center template-break">Hit Location: 24</div>
|
||||
<div class="template-row template-center">LEFT ARM / HULL</div>
|
||||
{{/rollTotal() roll 42}}
|
||||
{{#rollTotal() roll 52}}
|
||||
<div class="template-row template-center template-break">Hit Location: 25</div>
|
||||
<div class="template-row template-center">LEFT ARM / HULL</div>
|
||||
{{/rollTotal() roll 52}}
|
||||
{{#rollTotal() roll 62}}
|
||||
<div class="template-row template-center template-break">Hit Location: 26</div>
|
||||
<div class="template-row template-center">LEFT ARM / HULL</div>
|
||||
{{/rollTotal() roll 62}}
|
||||
{{#rollTotal() roll 72}}
|
||||
<div class="template-row template-center template-break">Hit Location: 27</div>
|
||||
<div class="template-row template-center">LEFT ARM / HULL</div>
|
||||
{{/rollTotal() roll 72}}
|
||||
{{#rollTotal() roll 82}}
|
||||
<div class="template-row template-center template-break">Hit Location: 28</div>
|
||||
<div class="template-row template-center">LEFT ARM / HULL</div>
|
||||
{{/rollTotal() roll 82}}
|
||||
{{#rollTotal() roll 92}}
|
||||
<div class="template-row template-center template-break">Hit Location: 29</div>
|
||||
<div class="template-row template-center">LEFT ARM / HULL</div>
|
||||
{{/rollTotal() roll 92}}
|
||||
{{#rollTotal() roll 3}}
|
||||
<div class="template-row template-center template-break">Hit Location: 30</div>
|
||||
<div class="template-row template-center">LEFT ARM / HULL</div>
|
||||
{{/rollTotal() roll 3}}
|
||||
<!-- Hit Location: Body -->
|
||||
{{#rollTotal() roll 13}}
|
||||
<div class="template-row template-center template-break">Hit Location: 31</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 13}}
|
||||
{{#rollTotal() roll 23}}
|
||||
<div class="template-row template-center template-break">Hit Location: 32</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 23}}
|
||||
{{#rollTotal() roll 33}}
|
||||
<div class="template-row template-center template-break">Hit Location: 33</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 33}}
|
||||
{{#rollTotal() roll 43}}
|
||||
<div class="template-row template-center template-break">Hit Location: 34</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 43}}
|
||||
{{#rollTotal() roll 53}}
|
||||
<div class="template-row template-center template-break">Hit Location: 35</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 53}}
|
||||
{{#rollTotal() roll 63}}
|
||||
<div class="template-row template-center template-break">Hit Location: 36</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 63}}
|
||||
{{#rollTotal() roll 73}}
|
||||
<div class="template-row template-center template-break">Hit Location: 37</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 73}}
|
||||
{{#rollTotal() roll 83}}
|
||||
<div class="template-row template-center template-break">Hit Location: 38</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 83}}
|
||||
{{#rollTotal() roll 93}}
|
||||
<div class="template-row template-center template-break">Hit Location: 39</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 93}}
|
||||
{{#rollTotal() roll 4}}
|
||||
<div class="template-row template-center template-break">Hit Location: 40</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 4}}
|
||||
{{#rollTotal() roll 14}}
|
||||
<div class="template-row template-center template-break">Hit Location: 41</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 14}}
|
||||
{{#rollTotal() roll 24}}
|
||||
<div class="template-row template-center template-break">Hit Location: 42</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 24}}
|
||||
{{#rollTotal() roll 34}}
|
||||
<div class="template-row template-center template-break">Hit Location: 43</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 34}}
|
||||
{{#rollTotal() roll 44}}
|
||||
<div class="template-row template-center template-break">Hit Location: 44</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 44}}
|
||||
{{#rollTotal() roll 54}}
|
||||
<div class="template-row template-center template-break">Hit Location: 45</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 54}}
|
||||
{{#rollTotal() roll 64}}
|
||||
<div class="template-row template-center template-break">Hit Location: 46</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 64}}
|
||||
{{#rollTotal() roll 74}}
|
||||
<div class="template-row template-center template-break">Hit Location: 47</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 74}}
|
||||
{{#rollTotal() roll 84}}
|
||||
<div class="template-row template-center template-break">Hit Location: 48</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 84}}
|
||||
{{#rollTotal() roll 94}}
|
||||
<div class="template-row template-center template-break">Hit Location: 49</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 94}}
|
||||
{{#rollTotal() roll 5}}
|
||||
<div class="template-row template-center template-break">Hit Location: 50</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 5}}
|
||||
{{#rollTotal() roll 15}}
|
||||
<div class="template-row template-center template-break">Hit Location: 51</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 15}}
|
||||
{{#rollTotal() roll 25}}
|
||||
<div class="template-row template-center template-break">Hit Location: 52</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 25}}
|
||||
{{#rollTotal() roll 35}}
|
||||
<div class="template-row template-center template-break">Hit Location: 53</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 35}}
|
||||
{{#rollTotal() roll 45}}
|
||||
<div class="template-row template-center template-break">Hit Location: 54</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 45}}
|
||||
{{#rollTotal() roll 55}}
|
||||
<div class="template-row template-center template-break">Hit Location: 55</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 55}}
|
||||
{{#rollTotal() roll 65}}
|
||||
<div class="template-row template-center template-break">Hit Location: 56</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 65}}
|
||||
{{#rollTotal() roll 75}}
|
||||
<div class="template-row template-center template-break">Hit Location: 57</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 75}}
|
||||
{{#rollTotal() roll 85}}
|
||||
<div class="template-row template-center template-break">Hit Location: 58</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 85}}
|
||||
{{#rollTotal() roll 95}}
|
||||
<div class="template-row template-center template-break">Hit Location: 59</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 95}}
|
||||
{{#rollTotal() roll 6}}
|
||||
<div class="template-row template-center template-break">Hit Location: 60</div>
|
||||
<div class="template-row template-center">BODY / HULL</div>
|
||||
{{/rollTotal() roll 6}}
|
||||
{{#rollTotal() roll 16}}
|
||||
<div class="template-row template-center template-break">Hit Location: 61</div>
|
||||
<div class="template-row template-center">BODY / WEAPON</div>
|
||||
{{/rollTotal() roll 16}}
|
||||
{{#rollTotal() roll 26}}
|
||||
<div class="template-row template-center template-break">Hit Location: 62</div>
|
||||
<div class="template-row template-center">BODY / WEAPON</div>
|
||||
{{/rollTotal() roll 26}}
|
||||
{{#rollTotal() roll 36}}
|
||||
<div class="template-row template-center template-break">Hit Location: 63</div>
|
||||
<div class="template-row template-center">BODY / WEAPON</div>
|
||||
{{/rollTotal() roll 36}}
|
||||
{{#rollTotal() roll 46}}
|
||||
<div class="template-row template-center template-break">Hit Location: 64</div>
|
||||
<div class="template-row template-center">BODY / WEAPON</div>
|
||||
{{/rollTotal() roll 46}}
|
||||
{{#rollTotal() roll 56}}
|
||||
<div class="template-row template-center template-break">Hit Location: 65</div>
|
||||
<div class="template-row template-center">BODY / WEAPON</div>
|
||||
{{/rollTotal() roll 56}}
|
||||
{{#rollTotal() roll 66}}
|
||||
<div class="template-row template-center template-break">Hit Location: 66</div>
|
||||
<div class="template-row template-center">BODY / WEAPON</div>
|
||||
{{/rollTotal() roll 66}}
|
||||
{{#rollTotal() roll 76}}
|
||||
<div class="template-row template-center template-break">Hit Location: 67</div>
|
||||
<div class="template-row template-center">BODY / WEAPON</div>
|
||||
{{/rollTotal() roll 76}}
|
||||
{{#rollTotal() roll 86}}
|
||||
<div class="template-row template-center template-break">Hit Location: 68</div>
|
||||
<div class="template-row template-center">BODY / WEAPON</div>
|
||||
{{/rollTotal() roll 86}}
|
||||
{{#rollTotal() roll 96}}
|
||||
<div class="template-row template-center template-break">Hit Location: 69</div>
|
||||
<div class="template-row template-center">BODY / WEAPON</div>
|
||||
{{/rollTotal() roll 96}}
|
||||
{{#rollTotal() roll 7}}
|
||||
<div class="template-row template-center template-break">Hit Location: 70</div>
|
||||
<div class="template-row template-center">BODY / WEAPON</div>
|
||||
{{/rollTotal() roll 7}}
|
||||
<!-- Hit Location: Right Leg -->
|
||||
{{#rollTotal() roll 17}}
|
||||
<div class="template-row template-center template-break">Hit Location: 71</div>
|
||||
<div class="template-row template-center">RIGHT LEG / WEAPON</div>
|
||||
{{/rollTotal() roll 17}}
|
||||
{{#rollTotal() roll 27}}
|
||||
<div class="template-row template-center template-break">Hit Location: 72</div>
|
||||
<div class="template-row template-center">RIGHT LEG / WEAPON</div>
|
||||
{{/rollTotal() roll 27}}
|
||||
{{#rollTotal() roll 37}}
|
||||
<div class="template-row template-center template-break">Hit Location: 73</div>
|
||||
<div class="template-row template-center">RIGHT LEG / WEAPON</div>
|
||||
{{/rollTotal() roll 37}}
|
||||
{{#rollTotal() roll 47}}
|
||||
<div class="template-row template-center template-break">Hit Location: 74</div>
|
||||
<div class="template-row template-center">RIGHT LEG / WEAPON</div>
|
||||
{{/rollTotal() roll 47}}
|
||||
{{#rollTotal() roll 57}}
|
||||
<div class="template-row template-center template-break">Hit Location: 75</div>
|
||||
<div class="template-row template-center">RIGHT LEG / WEAPON</div>
|
||||
{{/rollTotal() roll 57}}
|
||||
{{#rollTotal() roll 67}}
|
||||
<div class="template-row template-center template-break">Hit Location: 76</div>
|
||||
<div class="template-row template-center">RIGHT LEG / WEAPON</div>
|
||||
{{/rollTotal() roll 67}}
|
||||
{{#rollTotal() roll 77}}
|
||||
<div class="template-row template-center template-break">Hit Location: 77</div>
|
||||
<div class="template-row template-center">RIGHT LEG / WEAPON</div>
|
||||
{{/rollTotal() roll 77}}
|
||||
{{#rollTotal() roll 87}}
|
||||
<div class="template-row template-center template-break">Hit Location: 78</div>
|
||||
<div class="template-row template-center">RIGHT LEG / WEAPON</div>
|
||||
{{/rollTotal() roll 87}}
|
||||
{{#rollTotal() roll 97}}
|
||||
<div class="template-row template-center template-break">Hit Location: 79</div>
|
||||
<div class="template-row template-center">RIGHT LEG / WEAPON</div>
|
||||
{{/rollTotal() roll 97}}
|
||||
{{#rollTotal() roll 8}}
|
||||
<div class="template-row template-center template-break">Hit Location: 80</div>
|
||||
<div class="template-row template-center">RIGHT LEG / WEAPON</div>
|
||||
{{/rollTotal() roll 8}}
|
||||
{{#rollTotal() roll 18}}
|
||||
<div class="template-row template-center template-break">Hit Location: 81</div>
|
||||
<div class="template-row template-center">RIGHT LEG / TURRET</div>
|
||||
{{/rollTotal() roll 18}}
|
||||
{{#rollTotal() roll 28}}
|
||||
<div class="template-row template-center template-break">Hit Location: 82</div>
|
||||
<div class="template-row template-center">RIGHT LEG / TURRET</div>
|
||||
{{/rollTotal() roll 28}}
|
||||
{{#rollTotal() roll 38}}
|
||||
<div class="template-row template-center template-break">Hit Location: 83</div>
|
||||
<div class="template-row template-center">RIGHT LEG / TURRET</div>
|
||||
{{/rollTotal() roll 38}}
|
||||
{{#rollTotal() roll 48}}
|
||||
<div class="template-row template-center template-break">Hit Location: 84</div>
|
||||
<div class="template-row template-center">RIGHT LEG / TURRET</div>
|
||||
{{/rollTotal() roll 48}}
|
||||
{{#rollTotal() roll 58}}
|
||||
<div class="template-row template-center template-break">Hit Location: 85</div>
|
||||
<div class="template-row template-center">RIGHT LEG / TURRET</div>
|
||||
{{/rollTotal() roll 58}}
|
||||
<!-- Hit Location: Left Leg -->
|
||||
{{#rollTotal() roll 68}}
|
||||
<div class="template-row template-center template-break">Hit Location: 86</div>
|
||||
<div class="template-row template-center">LEFT LEG / TURRET</div>
|
||||
{{/rollTotal() roll 68}}
|
||||
{{#rollTotal() roll 78}}
|
||||
<div class="template-row template-center template-break">Hit Location: 87</div>
|
||||
<div class="template-row template-center">LEFT LEG / TURRET</div>
|
||||
{{/rollTotal() roll 78}}
|
||||
{{#rollTotal() roll 88}}
|
||||
<div class="template-row template-center template-break">Hit Location: 88</div>
|
||||
<div class="template-row template-center">LEFT LEG / TURRET</div>
|
||||
{{/rollTotal() roll 88}}
|
||||
{{#rollTotal() roll 98}}
|
||||
<div class="template-row template-center template-break">Hit Location: 89</div>
|
||||
<div class="template-row template-center">LEFT LEG / TURRET</div>
|
||||
{{/rollTotal() roll 98}}
|
||||
{{#rollTotal() roll 9}}
|
||||
<div class="template-row template-center template-break">Hit Location: 90</div>
|
||||
<div class="template-row template-center">LEFT LEG / TURRET</div>
|
||||
{{/rollTotal() roll 9}}
|
||||
{{#rollTotal() roll 19}}
|
||||
<div class="template-row template-center template-break">Hit Location: 91</div>
|
||||
<div class="template-row template-center">LEFT LEG / TURRET</div>
|
||||
{{/rollTotal() roll 19}}
|
||||
{{#rollTotal() roll 29}}
|
||||
<div class="template-row template-center template-break">Hit Location: 92</div>
|
||||
<div class="template-row template-center">LEFT LEG / TURRET</div>
|
||||
{{/rollTotal() roll 29}}
|
||||
{{#rollTotal() roll 39}}
|
||||
<div class="template-row template-center template-break">Hit Location: 93</div>
|
||||
<div class="template-row template-center">LEFT LEG / TURRET</div>
|
||||
{{/rollTotal() roll 39}}
|
||||
{{#rollTotal() roll 49}}
|
||||
<div class="template-row template-center template-break">Hit Location: 94</div>
|
||||
<div class="template-row template-center">LEFT LEG / TURRET</div>
|
||||
{{/rollTotal() roll 49}}
|
||||
{{#rollTotal() roll 59}}
|
||||
<div class="template-row template-center template-break">Hit Location: 95</div>
|
||||
<div class="template-row template-center">LEFT LEG / TURRET</div>
|
||||
{{/rollTotal() roll 59}}
|
||||
{{#rollTotal() roll 69}}
|
||||
<div class="template-row template-center template-break">Hit Location: 96</div>
|
||||
<div class="template-row template-center">LEFT LEG / TURRET</div>
|
||||
{{/rollTotal() roll 69}}
|
||||
{{#rollTotal() roll 79}}
|
||||
<div class="template-row template-center template-break">Hit Location: 97</div>
|
||||
<div class="template-row template-center">LEFT LEG / TURRET</div>
|
||||
{{/rollTotal() roll 79}}
|
||||
{{#rollTotal() roll 89}}
|
||||
<div class="template-row template-center template-break">Hit Location: 98</div>
|
||||
<div class="template-row template-center">LEFT LEG / TURRET</div>
|
||||
{{/rollTotal() roll 89}}
|
||||
{{#rollTotal() roll 99}}
|
||||
<div class="template-row template-center template-break">Hit Location: 99</div>
|
||||
<div class="template-row template-center">LEFT LEG / TURRET</div>
|
||||
{{/rollTotal() roll 99}}
|
||||
{{#rollTotal() roll 100}}
|
||||
<div class="template-row template-center template-break">Hit Location: 00</div>
|
||||
<div class="template-row template-center">LEFT LEG / TURRET</div>
|
||||
{{/rollTotal() roll 100}}
|
||||
|
||||
<!--
|
||||
<div class="template-row template-center template-break">Hit Location {{loc}}</div>
|
||||
<div class="template-row template-center">
|
||||
{{#rollBetween() loc 1 10}} HEAD {{/rollBetween() loc 1 10}}
|
||||
{{#rollBetween() loc 11 20}} RIGHT ARM {{/rollBetween() loc 11 20}}
|
||||
{{#rollBetween() loc 21 30}} LEFT ARM {{/rollBetween() loc 21 30}}
|
||||
{{#rollBetween() loc 31 70}} BODY {{/rollBetween() loc 31 70}}
|
||||
{{#rollBetween() loc 71 85}} RIGHT LEG {{/rollBetween() loc 71 85}}
|
||||
{{#rollBetween() loc 86 100}} LEFT LEG {{/rollBetween() loc 86 100}}
|
||||
|
||||
{{#rollBetween() loc 1 20}} / MOTIVE SYSTEM {{/rollBetween() loc 1 20}}
|
||||
{{#rollBetween() loc 21 60}} / HULL {{/rollBetween() loc 21 60}}
|
||||
{{#rollBetween() loc 61 80}} / WEAPON {{/rollBetween() loc 61 80}}
|
||||
{{#rollBetween() loc 81 100}} / TURRET {{/rollBetween() loc 81 100}}
|
||||
</div>
|
||||
-->
|
||||
</div>
|
||||
{{/loc}}
|
||||
|
||||
|
||||
@@ -23,11 +23,11 @@
|
||||
"displayname": "Auto Roll Hit Locations",
|
||||
"type": "select",
|
||||
"options": [
|
||||
"Automatically roll hit locations from an independent d100|{{loc=[[1d100]]}}",
|
||||
"Automatically roll hit locations from an independent d100|{{loc=}}",
|
||||
"Don't automatically roll hit locations| "
|
||||
],
|
||||
"default": " ",
|
||||
"description": "If active, automatically rolls Hit Location from a 1d100, independent of the attack roll. Scanning and reversing the attack roll to automatically get the proper number isn't possible at present."
|
||||
"default": "{{loc=}}",
|
||||
"description": "If active, automatically rolls Hit Location by reversing the attack roll."
|
||||
},
|
||||
{
|
||||
"attribute": "settings_crunchsummary",
|
||||
|
||||
Reference in New Issue
Block a user