RMSS: Minor updates to bring up to current.

add translation for percent chance, add calc to bring quickness into DB
automatically, fix calc for full DB to ensue that dbquickness penalty
works even if the sign is wrong.
This commit is contained in:
Diana P
2017-08-10 12:52:25 -06:00
parent de8ffe7162
commit 59b927be4e
2 changed files with 11 additions and 10 deletions
@@ -1,11 +1,11 @@
<!-- RoleMaster Standard System Character Sheet -->
<!-- by Diana P. -->
<!-- I borrowed some code/equations from Brian. And Sam. And Aaron I. And others -->
<!-- Version 2.3.7 (full nested calculations; sheet helpers; npc import.) dated 6/29/2017 -->
<!-- Version 2.3.8 (full nested calculations; sheet helpers; npc import.) dated 8/10/2017 -->
<input type="hidden" name="attr_character_sheet" title="character-sheet" value="RMSS-FullCalcs"/>
<input type="hidden" name="attr_currentsheetversion" title="currentsheetversion" value="3.7" />
<p style="font-size: 0.6em;">V2.<span name="attr_sheetversion" title="sheetversion" ></span> 6/29/17 by Diana P.</p>
<input type="radio" class="sheet-switch-pc-show sheet-switch" title="npc-show" name="attr_npc-show" value="1" checked /><span style="text-align: left;"><span data-i18n="pc">PC</span> &nbsp; &nbsp; </span>
<input type="hidden" name="attr_currentsheetversion" title="currentsheetversion" value="3.8" />
<p style="font-size: 0.6em;">V2.<span name="attr_sheetversion" title="sheetversion" ></span> 8/10/17 by Diana P.</p>
<input type="radio" class="sheet-switch-pc-show sheet-switch" title="npc-show" name="attr_npc-show" value="1" checked="checked" /><span style="text-align: left;"><span data-i18n="pc">PC</span> &nbsp; &nbsp; </span>
<input type="radio" class="sheet-switch-npc-show sheet-switch" title="npc-show" name="attr_npc-show" value="2" /><span style="text-align: left;"><span data-i18n="npc">NPC</span> &nbsp; &nbsp; </span>
<input type="radio" class="sheet-switch-rtmplt-show sheet-switch" title="npc-show" name="attr_npc-show" value="3" /><span style="text-align: left;" data-i18n="roll-templates">Roll Templates</span>
@@ -705,9 +705,9 @@
</div>
<div class="sheet-table-row">
<span class="sheet-table-data-center" style="width: 50%;" span data-i18n="quickness-bonus">Quickness Bonus</span>
<span class="sheet-table-data-center"><input type="text" style="width: 60%;" name="attr_dbquickbonworn" title="dbquickbonworn" value="0" /> </span>
<span class="sheet-table-data-center"><input type="text" style="width: 60%;" name="attr_dbquickbon1" title="dbquickbon1" value="0" /> </span>
<span class="sheet-table-data-center"><input type="text" style="width: 60%;" name="attr_dbquickbon2" title="dbquickbon2" value="0" /> </span>
<span class="sheet-table-data-center"><input type="text" style="width: 60%;" name="attr_dbquickbonworn" title="dbquickbonworn" value="(3*@{qubonus})" disabled="true" /> </span>
<span class="sheet-table-data-center"><input type="text" style="width: 60%;" name="attr_dbquickbon1" title="dbquickbon1" value="(3*@{qubonus})" disabled="true" /> </span>
<span class="sheet-table-data-center"><input type="text" style="width: 60%;" name="attr_dbquickbon2" title="dbquickbon2" value="(3*@{qubonus})" disabled="true" /> </span>
</div>
<div class="sheet-table-row">
<span class="sheet-table-data-center" style="width: 50%;" span data-i18n="adrenal-defense">Adrenal Defense</span>
@@ -748,9 +748,9 @@
</div>
<div class="sheet-table-row">
<span class="sheet-table-data-center" style="width: 50%;" span data-i18n="total-defensive-bonus">Total Defensive Bonus:</span>
<span class="sheet-table-data-center"><input type="text" style="width: 60%;" name="attr_dbworn" title="dbworn" value="((@{dbquickbonworn} -@{dbquickpenworn}) + abs(@{dbquickbonworn} -@{dbquickpenworn}))/2 +(1-ceil((@{atworn} -1)/(@{atworn}-.999999)))*@{adworn} +ceil((@{atworn} -1)/(@{atworn}-.999999))*(@{dbshieldworn}+@{dbshielddbworn}) +@{dbmagicbonworn} +@{dbarmdbworn}" disabled="true" /> </span>
<span class="sheet-table-data-center"><input type="text" style="width: 60%;" name="attr_db1" title="db1" value="((@{dbquickbon1} -@{dbquickpen1}) + abs(@{dbquickbon1} -@{dbquickpen1}))/2 +(1-ceil((@{at1} -1)/(@{at1}-.999999)))*@{ad1} +ceil((@{at1} -1)/(@{at1}-.999999))*(@{dbshield1}+@{dbshielddb1}) +@{dbmagicbon1} +@{dbarmdb1}" disabled="true" /> </span>
<span class="sheet-table-data-center"><input type="text" style="width: 60%;" name="attr_db2" title="db2" value="((@{dbquickbon2} -@{dbquickpen2}) + abs(@{dbquickbon2} -@{dbquickpen2}))/2 +(1-ceil((@{at2} -1)/(@{at2}-.999999)))*@{ad2} +ceil((@{at2} -1)/(@{at2}-.999999))*(@{dbshield2}+@{dbshielddb2}) +@{dbmagicbon2} +@{dbarmdb2}" disabled="true" /> </span>
<span class="sheet-table-data-center"><input type="text" style="width: 60%;" name="attr_dbworn" title="dbworn" value="(((@{dbquickbonworn} -abs(@{dbquickpenworn})) + abs(@{dbquickbonworn} -abs(@{dbquickpenworn})))/2 +(1-ceil((@{atworn} -1)/(@{atworn}-.999999)))*@{adworn} +ceil((@{atworn} -1)/(@{atworn}-.999999))*(@{dbshieldworn}+@{dbshielddbworn}) +@{dbmagicbonworn} +@{dbarmdbworn})" disabled="true" /> </span>
<span class="sheet-table-data-center"><input type="text" style="width: 60%;" name="attr_db1" title="db1" value="(((@{dbquickbon1} -abs(@{dbquickpen1})) + abs(@{dbquickbon1} -abs(@{dbquickpen1})))/2 +(1-ceil((@{at1} -1)/(@{at1}-.999999)))*@{ad1} +ceil((@{at1} -1)/(@{at1}-.999999))*(@{dbshield1}+@{dbshielddb1}) +@{dbmagicbon1} +@{dbarmdb1})" disabled="true" /> </span>
<span class="sheet-table-data-center"><input type="text" style="width: 60%;" name="attr_db2" title="db2" value="(((@{dbquickbon2} -abs(@{dbquickpen2})) + abs(@{dbquickbon2} -abs(@{dbquickpen2})))/2 +(1-ceil((@{at2} -1)/(@{at2}-.999999)))*@{ad2} +ceil((@{at2} -1)/(@{at2}-.999999))*(@{dbshield2}+@{dbshielddb2}) +@{dbmagicbon2} +@{dbarmdb2})" disabled="true" /> </span>
<!-- Max( @{dbquickbonworn} - @{dbquickpenworn} , 0) + IF(@{atworn}=1 then @{adworn}, else @{dbshieldworn} + @{dbshielddbworn}) + @{dbmagicbonworn} + @{dbarmdbworn} -->
</div>
</td>
@@ -900,6 +900,7 @@
"special-defence-and-other-combat-related-information": "Special defense and other combat-related information",
"attacks-code-reminder": "Attacks: (reminder: √=(if non-tiny crit, then next rnd); «=(if non-tiny crit, then same rnd))",
"other-attack-related-information": "Other attack-related information",
"percent-chance-of-attack-a": "% Chance",
"attack-weapon": "Attack/Weapon",
"show-roll-templates": "Show Roll Templates?",
"rolltemplate-intro": "All of the roll templates use flags to vary the roll template appearance. These flags are:",