Skip to content

Commit

Permalink
Merge pull request #13517 from roguetradermago/rogue-trader-improved-…
Browse files Browse the repository at this point in the history
…rev6-hotfix1

rogue trader improved rev6 hotfix1
  • Loading branch information
NorWhal authored Nov 21, 2024
2 parents a3c1dc3 + 16131f6 commit 7f870f1
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 23 deletions.
96 changes: 74 additions & 22 deletions Rogue Trader Improved/RogueTraderImproved.html
Original file line number Diff line number Diff line change
Expand Up @@ -4970,29 +4970,81 @@ <h1>Special Thanks</h1>
<div class="sheet-result" style="color:red">the weapon malfunctions!</div>
{{/rollWasFumble() d100a }}
{{/d100a}}
{{#attack}}
<div class="sheet-result">{{attack}}&#160;
{{#rollGreater() d100a testtarget }}Missed...{{/rollGreater() d100a testtarget }}
{{#rollLess() d100a testtarget }}Attack Hits! &#x1F4A2;
<div class="sheet-result">{{hitloc}}&#160;
{{#rollBetween() hitloc 1 10}}HEAD{{/rollBetween() hitloc 1 10}}
{{#rollBetween() hitloc 11 20}}RIGHT ARM{{/rollBetween() hitloc 11 20}}
{{#rollBetween() hitloc 21 30}}LEFT ARM{{/rollBetween() hitloc 21 30}}
{{#rollBetween() hitloc 31 70}}BODY{{/rollBetween() hitloc 31 70}}
{{#rollBetween() hitloc 71 85}}RIGHT LEG{{/rollBetween() hitloc 71 85}}
{{#rollBetween() hitloc 86 100}}LEFT LEG{{/rollBetween() hitloc 86 100}}
{{attack}}&#160;
{{#rollGreater() d100a testtarget}}<span>Missed...</span>{{/rollGreater() d100a testtarget}}
{{#^rollGreater() d100a testtarget}}
<span>Attack Hits!</span> &#x1F4A2;
<div class="sheet-result">
<!--head locations-->
{{#rollTotal() hitloc 01}}<span>Head</span>{{/rollTotal() hitloc 01}}
{{#rollTotal() hitloc 10}}<span>Head</span>{{/rollTotal() hitloc 10}}
{{#rollTotal() hitloc 20}}<span>Head</span>{{/rollTotal() hitloc 20}}
{{#rollTotal() hitloc 30}}<span>Head</span>{{/rollTotal() hitloc 30}}
{{#rollTotal() hitloc 40}}<span>Head</span>{{/rollTotal() hitloc 40}}
{{#rollTotal() hitloc 50}}<span>Head</span>{{/rollTotal() hitloc 50}}
{{#rollTotal() hitloc 60}}<span>Head</span>{{/rollTotal() hitloc 60}}
{{#rollTotal() hitloc 70}}<span>Head</span>{{/rollTotal() hitloc 70}}
{{#rollTotal() hitloc 80}}<span>Head</span>{{/rollTotal() hitloc 80}}
{{#rollTotal() hitloc 90}}<span>Head</span>{{/rollTotal() hitloc 90}}
<!--right arm locations-->
{{#rollTotal() hitloc 91}}<span>Right Arm</span>{{/rollTotal() hitloc 91}}
{{#rollTotal() hitloc 81}}<span>Right Arm</span>{{/rollTotal() hitloc 81}}
{{#rollTotal() hitloc 71}}<span>Right Arm</span>{{/rollTotal() hitloc 71}}
{{#rollTotal() hitloc 61}}<span>Right Arm</span>{{/rollTotal() hitloc 61}}
{{#rollTotal() hitloc 51}}<span>Right Arm</span>{{/rollTotal() hitloc 51}}
{{#rollTotal() hitloc 41}}<span>Right Arm</span>{{/rollTotal() hitloc 41}}
{{#rollTotal() hitloc 31}}<span>Right Arm</span>{{/rollTotal() hitloc 31}}
{{#rollTotal() hitloc 21}}<span>Right Arm</span>{{/rollTotal() hitloc 21}}
{{#rollTotal() hitloc 11}}<span>Right Arm</span>{{/rollTotal() hitloc 11}}
{{#rollTotal() hitloc 02}}<span>Right Arm</span>{{/rollTotal() hitloc 02}}
<!--left arm locations-->
{{#rollTotal() hitloc 92}}<span>Left Arm</span>{{/rollTotal() hitloc 92}}
{{#rollTotal() hitloc 82}}<span>Left Arm</span>{{/rollTotal() hitloc 82}}
{{#rollTotal() hitloc 72}}<span>Left Arm</span>{{/rollTotal() hitloc 72}}
{{#rollTotal() hitloc 62}}<span>Left Arm</span>{{/rollTotal() hitloc 62}}
{{#rollTotal() hitloc 52}}<span>Left Arm</span>{{/rollTotal() hitloc 52}}
{{#rollTotal() hitloc 42}}<span>Left Arm</span>{{/rollTotal() hitloc 42}}
{{#rollTotal() hitloc 32}}<span>Left Arm</span>{{/rollTotal() hitloc 32}}
{{#rollTotal() hitloc 22}}<span>Left Arm</span>{{/rollTotal() hitloc 22}}
{{#rollTotal() hitloc 12}}<span>Left Arm</span>{{/rollTotal() hitloc 12}}
{{#rollTotal() hitloc 03}}<span>Left Arm</span>{{/rollTotal() hitloc 03}}
<!--body locations-->
{{#rollBetween() hitloc 93 96}}<span>Body</span>{{/rollBetween() hitloc 93 96}}
{{#rollBetween() hitloc 83 86}}<span>Body</span>{{/rollBetween() hitloc 83 86}}
{{#rollBetween() hitloc 73 76}}<span>Body</span>{{/rollBetween() hitloc 73 76}}
{{#rollBetween() hitloc 63 66}}<span>Body</span>{{/rollBetween() hitloc 63 66}}
{{#rollBetween() hitloc 53 56}}<span>Body</span>{{/rollBetween() hitloc 53 56}}
{{#rollBetween() hitloc 43 46}}<span>Body</span>{{/rollBetween() hitloc 43 46}}
{{#rollBetween() hitloc 33 36}}<span>Body</span>{{/rollBetween() hitloc 33 36}}
{{#rollBetween() hitloc 23 26}}<span>Body</span>{{/rollBetween() hitloc 23 26}}
{{#rollBetween() hitloc 13 16}}<span>Body</span>{{/rollBetween() hitloc 13 16}}
{{#rollBetween() hitloc 13 16}}<span>Body</span>{{/rollBetween() hitloc 13 16}}
{{#rollBetween() hitloc 04 07}}<span>Body</span>{{/rollBetween() hitloc 04 07}}
<!--right leg locations-->
{{#rollTotal() hitloc 97}}<span>Right Leg</span>{{/rollTotal() hitloc 97}}
{{#rollTotal() hitloc 87}}<span>Right Leg</span>{{/rollTotal() hitloc 87}}
{{#rollTotal() hitloc 77}}<span>Right Leg</span>{{/rollTotal() hitloc 77}}
{{#rollTotal() hitloc 67}}<span>Right Leg</span>{{/rollTotal() hitloc 67}}
{{#rollBetween() hitloc 57 58}}<span>Right Leg<</span>{{/rollBetween() hitloc 57 58}}
{{#rollBetween() hitloc 47 48}}<span>Right Leg<</span>{{/rollBetween() hitloc 47 48}}
{{#rollBetween() hitloc 37 38}}<span>Right Leg<</span>{{/rollBetween() hitloc 37 38}}
{{#rollBetween() hitloc 27 28}}<span>Right Leg<</span>{{/rollBetween() hitloc 27 28}}
{{#rollBetween() hitloc 17 18}}<span>Right Leg<</span>{{/rollBetween() hitloc 17 18}}
{{#rollTotal() hitloc 08}}<span>Right Leg</span>{{/rollTotal() hitloc 08}}
<!--left leg locations-->
{{#rollTotal() hitloc 100}}<span>Left Leg</span>{{/rollTotal() hitloc 100}}
{{#rollBetween() hitloc 98 99}}<span>Left Leg<</span>{{/rollBetween() hitloc 98 99}}
{{#rollBetween() hitloc 88 89}}<span>Left Leg<</span>{{/rollBetween() hitloc 88 89}}
{{#rollBetween() hitloc 78 79}}<span>Left Leg<</span>{{/rollBetween() hitloc 78 79}}
{{#rollBetween() hitloc 68 69}}<span>Left Leg<</span>{{/rollBetween() hitloc 68 69}}
{{#rollTotal() hitloc 59}}<span>Left Leg</span>{{/rollTotal() hitloc 59}}
{{#rollTotal() hitloc 49}}<span>Left Leg</span>{{/rollTotal() hitloc 49}}
{{#rollTotal() hitloc 39}}<span>Left Leg</span>{{/rollTotal() hitloc 39}}
{{#rollTotal() hitloc 29}}<span>Left Leg</span>{{/rollTotal() hitloc 29}}
{{#rollTotal() hitloc 19}}<span>Left Leg</span>{{/rollTotal() hitloc 19}}
{{#rollTotal() hitloc 09}}<span>Left Leg</span>{{/rollTotal() hitloc 09}}
</div>
{{/rollLess() d100a testtarget }}
{{#rollTotal() d100a testtarget }}Attack Hits! &#x1F4A2;
<div class="sheet-result">{{hitloc}}&#160;
{{#rollBetween() hitloc 1 10}}HEAD{{/rollBetween() hitloc 1 10}}
{{#rollBetween() hitloc 11 20}}RIGHT ARM{{/rollBetween() hitloc 11 20}}
{{#rollBetween() hitloc 21 30}}LEFT ARM{{/rollBetween() hitloc 21 30}}
{{#rollBetween() hitloc 31 70}}BODY{{/rollBetween() hitloc 31 70}}
{{#rollBetween() hitloc 71 85}}RIGHT LEG{{/rollBetween() hitloc 71 85}}
{{#rollBetween() hitloc 86 100}}LEFT LEG{{/rollBetween() hitloc 86 100}}
</div>
{{/rollTotal() d100a testtarget }}
{{/^rollGreater() d100a testtarget}}
</div>
{{/attack}}
<!--section for strike to stun -->
Expand Down
2 changes: 1 addition & 1 deletion Rogue Trader Improved/sheet.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"authors": "Mago",
"roll20userid": "986445",
"preview": "RTimprovedPreview.png",
"instructions": "Character Sheet designed to play **Warhammer 40k Rogue Trader** pen & paper RPG by Fantasy Flight Games.<br></br>This Sheet does Not require API scripts.<br></br>Most of the sheets functions are described with **Info Tooltips** hover over fields and buttons to see them<br></br>For more information visit the documentation page at [Rogue Trader Improved Wiki](https://wiki.roll20.net/Rogue_trader_improved)<br></br>**IMPORTANT TIP** The roll template is best displayed in chat when **turning off the ENABLE CHAT AVATARS** option in the My Settings tab.<br></br>If you have any questions, suggestions or feedback, send a private message to [Author Mago](https://app.roll20.net/users/986445/mago)<br></br>**Revision 6 October 2024**",
"instructions": "Character Sheet designed to play **Warhammer 40k Rogue Trader** pen & paper RPG by Fantasy Flight Games. This Sheet does Not require API scripts. Most of the sheets functions are described with **Info Tooltips** hover over fields and buttons to see them For more information visit the documentation page at [Rogue Trader Improved Wiki](https://wiki.roll20.net/Rogue_trader_improved) **IMPORTANT TIP** The roll template is best displayed in chat when **turning off the ENABLE CHAT AVATARS** option in the My Settings tab./ If you have any questions, suggestions or feedback, send a private message to [Author Mago](https://app.roll20.net/users/986445/mago)/n**Revision 6 October 2024**",
"legacy": false
}

0 comments on commit 7f870f1

Please sign in to comment.