Skip to content

Commit

Permalink
Merge pull request #13545 from Telepath-Jay/master
Browse files Browse the repository at this point in the history
Update MW2CharSheet.html to fix dropdown menu bug
  • Loading branch information
NorWhal authored Nov 26, 2024
2 parents 972db77 + ce10311 commit 04f1d03
Showing 1 changed file with 102 additions and 102 deletions.
204 changes: 102 additions & 102 deletions MechWarrior 2e/MW2CharSheet.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,111 +72,111 @@
<input type="number" class="field-social-stat font-small transparent" title="@{attr-social}" name="attr_attr-social" value="(18-@{int}-@{cha})" disabled="true">
<button name="roll_social-save" class="field-social-button" value="&{template:default} {{name=Social Save}}} {{roll=[[3d6kh2 + ?{Modifier|0} - @{attr-social}]]}}" type="roll"></button>
<!--Advantages-->
<input type="number" class="field-adv-total font-small transparent" title="@{attr-adv-total}" name="attr_adv-total" value="(@{adv1}+@{adv2}+@{adv3}+@(adv4)-4)" disabled="true">
<input type="number" class="field-adv-total font-small transparent" title="@{attr-adv-total}" name="attr_adv-total" value="(@{adv1}+@{adv2}+@{adv3}+@{adv4})" disabled="true">
<input type="text" class="field-adv-total-text font-small transparent" title="@attr-adv-total-text" name="attr_adv-total-text" value="points spent" disabled="true">
<select type="text" class="field-adv1 font-small transparent" title="@{adv1}" name="attr_adv1">
<option value="0" selected="selected"> </option>
<option value="1">Ambidextrous</option>
<option value="2">Ex. Attr. (BLD)</option>
<option value="2">Ex. Attr. (REF)</option>
<option value="2">Ex. Attr. (INT)</option>
<option value="2">Ex. Attr. (LRN)</option>
<option value="2">Ex. Attr. (CHA)</option>
<option value="1">Extra Edge 1</option>
<option value="2">Extra Edge 2</option>
<option value="3">Extra Edge 3</option>
<option value="1">Land Grant</option>
<option value="2">Skill Aptitude</option>
<option value="3">Combat Aptitude</option>
<option value="2">Sixth Sense</option>
<option value="1">Title (Knight)</option>
<option value="2">Title (Baronet)</option>
<option value="3">Title (Baron)</option>
<option value="2">Toughness</option>
<option value="1">Wealth 5k</option>
<option value="2">Wealth 50k</option>
<option value="3">Wealth 500k</option>
<option value="1">Well Equipped 1</option>
<option value="2">Well Equipped 2</option>
<option value="3">Well Equipped 3</option>
<option value="1, a">Ambidextrous</option>
<option value="2, b">Ex. Attr. (BLD)</option>
<option value="2, c">Ex. Attr. (REF)</option>
<option value="2, d">Ex. Attr. (INT)</option>
<option value="2, e">Ex. Attr. (LRN)</option>
<option value="2, f">Ex. Attr. (CHA)</option>
<option value="1, g">Extra Edge 1</option>
<option value="2, h">Extra Edge 2</option>
<option value="3, i">Extra Edge 3</option>
<option value="1, j">Land Grant</option>
<option value="2, k">Skill Aptitude</option>
<option value="3, l">Combat Aptitude</option>
<option value="2, m">Sixth Sense</option>
<option value="1, n">Title (Knight)</option>
<option value="2, o">Title (Baronet)</option>
<option value="3, p">Title (Baron)</option>
<option value="2, q">Toughness</option>
<option value="1, r">Wealth 5k</option>
<option value="2, s">Wealth 50k</option>
<option value="3, t">Wealth 500k</option>
<option value="1, u">Well Equipped 1</option>
<option value="2, v">Well Equipped 2</option>
<option value="3, w">Well Equipped 3</option>
</select>
<select type="text" class="field-adv2 font-small transparent" title="@{adv2}" name="attr_adv2">
<option value="0" selected="selected"> </option>
<option value="1">Ambidextrous</option>
<option value="2">Ex. Attr. (BLD)</option>
<option value="2">Ex. Attr. (REF)</option>
<option value="2">Ex. Attr. (INT)</option>
<option value="2">Ex. Attr. (LRN)</option>
<option value="2">Ex. Attr. (CHA)</option>
<option value="1">Extra Edge 1</option>
<option value="2">Extra Edge 2</option>
<option value="3">Extra Edge 3</option>
<option value="1">Land Grant</option>
<option value="2">Skill Aptitude</option>
<option value="3">Combat Aptitude</option>
<option value="2">Sixth Sense</option>
<option value="1">Title (Knight)</option>
<option value="2">Title (Baronet)</option>
<option value="3">Title (Baron)</option>
<option value="2">Toughness</option>
<option value="1">Wealth 5k</option>
<option value="2">Wealth 50k</option>
<option value="3">Wealth 500k</option>
<option value="1">Well Equipped 1</option>
<option value="2">Well Equipped 2</option>
<option value="3">Well Equipped 3</option>
<option value="1, a">Ambidextrous</option>
<option value="2, b">Ex. Attr. (BLD)</option>
<option value="2, c">Ex. Attr. (REF)</option>
<option value="2, d">Ex. Attr. (INT)</option>
<option value="2, e">Ex. Attr. (LRN)</option>
<option value="2, f">Ex. Attr. (CHA)</option>
<option value="1, g">Extra Edge 1</option>
<option value="2, h">Extra Edge 2</option>
<option value="3, i">Extra Edge 3</option>
<option value="1, j">Land Grant</option>
<option value="2, k">Skill Aptitude</option>
<option value="3, l">Combat Aptitude</option>
<option value="2, m">Sixth Sense</option>
<option value="1, n">Title (Knight)</option>
<option value="2, o">Title (Baronet)</option>
<option value="3, p">Title (Baron)</option>
<option value="2, q">Toughness</option>
<option value="1, r">Wealth 5k</option>
<option value="2, s">Wealth 50k</option>
<option value="3, t">Wealth 500k</option>
<option value="1, u">Well Equipped 1</option>
<option value="2, v">Well Equipped 2</option>
<option value="3, w">Well Equipped 3</option>
</select>
<select type="text" class="field-adv3 font-small transparent" title="@{adv3}" name="attr_adv3">
<option value="0" selected="selected"> </option>
<option value="1">Ambidextrous</option>
<option value="2">Ex. Attr. (BLD)</option>
<option value="2">Ex. Attr. (REF)</option>
<option value="2">Ex. Attr. (INT)</option>
<option value="2">Ex. Attr. (LRN)</option>
<option value="2">Ex. Attr. (CHA)</option>
<option value="1">Extra Edge 1</option>
<option value="2">Extra Edge 2</option>
<option value="3">Extra Edge 3</option>
<option value="1">Land Grant</option>
<option value="2">Skill Aptitude</option>
<option value="3">Combat Aptitude</option>
<option value="2">Sixth Sense</option>
<option value="1">Title (Knight)</option>
<option value="2">Title (Baronet)</option>
<option value="3">Title (Baron)</option>
<option value="2">Toughness</option>
<option value="1">Wealth 5k</option>
<option value="2">Wealth 50k</option>
<option value="3">Wealth 500k</option>
<option value="1">Well Equipped 1</option>
<option value="2">Well Equipped 2</option>
<option value="3">Well Equipped 3</option>
<option value="1, a">Ambidextrous</option>
<option value="2, b">Ex. Attr. (BLD)</option>
<option value="2, c">Ex. Attr. (REF)</option>
<option value="2, d">Ex. Attr. (INT)</option>
<option value="2, e">Ex. Attr. (LRN)</option>
<option value="2, f">Ex. Attr. (CHA)</option>
<option value="1, g">Extra Edge 1</option>
<option value="2, h">Extra Edge 2</option>
<option value="3, i">Extra Edge 3</option>
<option value="1, j">Land Grant</option>
<option value="2, k">Skill Aptitude</option>
<option value="3, l">Combat Aptitude</option>
<option value="2, m">Sixth Sense</option>
<option value="1, n">Title (Knight)</option>
<option value="2, o">Title (Baronet)</option>
<option value="3, p">Title (Baron)</option>
<option value="2, q">Toughness</option>
<option value="1, r">Wealth 5k</option>
<option value="2, s">Wealth 50k</option>
<option value="3, t">Wealth 500k</option>
<option value="1, u">Well Equipped 1</option>
<option value="2, v">Well Equipped 2</option>
<option value="3, w">Well Equipped 3</option>
</select>
<select type="text" class="field-adv4 font-small transparent" title="@{adv4}" name="attr_adv4">
<option value="0" selected="selected"> </option>
<option value="1">Ambidextrous</option>
<option value="2">Ex. Attr. (BLD)</option>
<option value="2">Ex. Attr. (REF)</option>
<option value="2">Ex. Attr. (INT)</option>
<option value="2">Ex. Attr. (LRN)</option>
<option value="2">Ex. Attr. (CHA)</option>
<option value="1">Extra Edge 1</option>
<option value="2">Extra Edge 2</option>
<option value="3">Extra Edge 3</option>
<option value="1">Land Grant</option>
<option value="2">Skill Aptitude</option>
<option value="3">Combat Aptitude</option>
<option value="2">Sixth Sense</option>
<option value="1">Title (Knight)</option>
<option value="2">Title (Baronet)</option>
<option value="3">Title (Baron)</option>
<option value="2">Toughness</option>
<option value="1">Wealth 5k</option>
<option value="2">Wealth 50k</option>
<option value="3">Wealth 500k</option>
<option value="1">Well Equipped 1</option>
<option value="2">Well Equipped 2</option>
<option value="3">Well Equipped 3</option>
<option value="1, a">Ambidextrous</option>
<option value="2, b">Ex. Attr. (BLD)</option>
<option value="2, c">Ex. Attr. (REF)</option>
<option value="2, d">Ex. Attr. (INT)</option>
<option value="2, e">Ex. Attr. (LRN)</option>
<option value="2, f">Ex. Attr. (CHA)</option>
<option value="1, g">Extra Edge 1</option>
<option value="2, h">Extra Edge 2</option>
<option value="3, i">Extra Edge 3</option>
<option value="1, j">Land Grant</option>
<option value="2, k">Skill Aptitude</option>
<option value="3, l">Combat Aptitude</option>
<option value="2, m">Sixth Sense</option>
<option value="1, n">Title (Knight)</option>
<option value="2, o">Title (Baronet)</option>
<option value="3, p">Title (Baron)</option>
<option value="2, q">Toughness</option>
<option value="1, r">Wealth 5k</option>
<option value="2, s">Wealth 50k</option>
<option value="3, t">Wealth 500k</option>
<option value="1, u">Well Equipped 1</option>
<option value="2, v">Well Equipped 2</option>
<option value="3, w">Well Equipped 3</option>
</select>
<!--Misc-->
<button type="roll" class="field-initiative-button" name="roll_initiative" value="&{template:default} {{name=Initiative}} {{roll=[[2d6 + @{ref} + 0.1*@{int} &{tracker}]]}}">
Expand Down Expand Up @@ -209,15 +209,15 @@
<input type="text" class="field-equipline19 font-small transparent" autocomplete="off" spellcheck="false" title="@{equipline19}" name="attr_equipline19">
<!--Skill Package-->
<select type="text" class="field-skill0 font-small transparent" title="@{skill0}" name="attr_skill0">
<option value="0" selected="selected"> </option>
<option value="20">Primary Clan Warrior Package</option>
<option value="12">Secondary Clan Warrior Package</option>
<option value="16">Clan Pilot Package</option>
<option value="16">Elemental Package</option>
<option value="9">Basic Academy Package</option>
<option value="15">Advanced Academy Package</option>
<option value="12">Basic University Package</option>
<option value="18">Advanced University Package</option>
<option value="0, a" selected="selected"> </option>
<option value="20, b">Primary Clan Warrior Package</option>
<option value="12, c">Secondary Clan Warrior Package</option>
<option value="16, d">Clan Pilot Package</option>
<option value="16, e">Elemental Package</option>
<option value="9, f">Basic Academy Package</option>
<option value="15, g">Advanced Academy Package</option>
<option value="12, h">Basic University Package</option>
<option value="18, i">Advanced University Package</option>
</select>
<input type="number" class="field-skill-total font-small transparent" title="@{skill-total}" name="attr_skill-total" value="(@{skill-rank1} * (@{skill-rank1} + 1) / 2) + (@{skill-rank2} * (@{skill-rank2} + 1) / 2) + (@{skill-rank3} * (@{skill-rank3} + 1) / 2) + (@{skill-rank4} * (@{skill-rank4} + 1) / 2) + (@{skill-rank5} * (@{skill-rank5} + 1) / 2) + (@{skill-rank6} * (@{skill-rank6} + 1) / 2) + (@{skill-rank7} * (@{skill-rank7} + 1) / 2) + (@{skill-rank8} * (@{skill-rank8} + 1) / 2) + (@{skill-rank9} * (@{skill-rank9} + 1) / 2) + (@{skill-rank10} * (@{skill-rank10} + 1) / 2) + (@{skill-rank11} * (@{skill-rank11} + 1) / 2) + (@{skill-rank12} * (@{skill-rank12} + 1) / 2) + (@{skill-rank13} * (@{skill-rank13} + 1) / 2) + (@{skill-rank14} * (@{skill-rank14} + 1) / 2) + (@{skill-rank15} * (@{skill-rank15} + 1) / 2) + (@{skill-rank16} * (@{skill-rank16} + 1) / 2) + (@{skill-rank17} * (@{skill-rank17} + 1) / 2) + (@{skill-rank18} * (@{skill-rank18} + 1) / 2) + (@{skill-rank19} * (@{skill-rank19} + 1) / 2) + (@{skill-rank20} * (@{skill-rank20} + 1) / 2) + (@{skill-rank21} * (@{skill-rank21} + 1) / 2) + (@{skill-rank22} * (@{skill-rank22} + 1) / 2) + (@{skill-rank23} * (@{skill-rank23} + 1) / 2) + (@{skill-rank24} * (@{skill-rank24} + 1) / 2) + (@{skill-rank25} * (@{skill-rank25} + 1) / 2) + (@{skill-rank26} * (@{skill-rank26} + 1) / 2) + (@{skill-rank27} * (@{skill-rank27} + 1) / 2) + (@{skill-rank28} * (@{skill-rank28} + 1) / 2) + (@{skill-rank29} * (@{skill-rank29} + 1) / 2) + (@{skill-rank30} * (@{skill-rank30} + 1) / 2) + (@{skill-rank31} * (@{skill-rank31} + 1) / 2) + (@{skill-rank32} * (@{skill-rank32} + 1) / 2) + (@{skill-rank33} * (@{skill-rank33} + 1) / 2) + (@{skill-rank34} * (@{skill-rank34} + 1) / 2) + (@{skill-rank35} * (@{skill-rank35} + 1) / 2) + (@{skill-rank36} * (@{skill-rank36} + 1) / 2) + (@{skill-rank37} * (@{skill-rank37} + 1) / 2) + (@{skill-rank38} * (@{skill-rank38} + 1) / 2) + (@{skill-rank39} * (@{skill-rank39} + 1) / 2) + (@{skill-rank40} * (@{skill-rank40} + 1) / 2) + (@{skill-rank41} * (@{skill-rank41} + 1) / 2) + (@{skill-rank42} * (@{skill-rank42} + 1) / 2) + (@{skill-rank43} * (@{skill-rank43} + 1) / 2) + (@{skill-rank44} * (@{skill-rank44} + 1) / 2) + (@{skill-rank45} * (@{skill-rank45} + 1) / 2) + (@{skill-rank46} * (@{skill-rank46} + 1) / 2) + (@{skill-rank47} * (@{skill-rank47} + 1) / 2) + (@{skill-rank48} * (@{skill-rank48} + 1) / 2) + (@{skill-rank49} * (@{skill-rank49} + 1) / 2) + (@{skill-rank50} * (@{skill-rank50} + 1) / 2) + (@{skill-rank51} * (@{skill-rank51} + 1) / 2) + (@{skill-rank52} * (@{skill-rank52} + 1) / 2) + (@{skill-rank53} * (@{skill-rank53} + 1) / 2) + (@{skill-rank54} * (@{skill-rank54} + 1) / 2) + (@{skill-rank55} * (@{skill-rank55} + 1) / 2) + (@{skill-rank56} * (@{skill-rank56} + 1) / 2) + (@{skill-rank57} * (@{skill-rank57} + 1) / 2) + (@{skill-rank58} * (@{skill-rank58} + 1) / 2) + (@{skill-rank59} * (@{skill-rank59} + 1) / 2) + (@{skill-rank60} * (@{skill-rank60} + 1) / 2) + (@{skill-rank61} * (@{skill-rank61} + 1) / 2) + (@{skill-rank62} * (@{skill-rank62} + 1) / 2) + (@{skill-rank63} * (@{skill-rank63} + 1) / 2) + (@{skill-rank64} * (@{skill-rank64} + 1) / 2) + (@{skill-rank65} * (@{skill-rank65} + 1) / 2) + (@{skill-rank66} * (@{skill-rank66} + 1) / 2) + (@{skill-rank67} * (@{skill-rank67} + 1) / 2) + (@{skill-rank68} * (@{skill-rank68} + 1) / 2) + (@{skill-rank69} * (@{skill-rank69} + 1) / 2) + (@{skill-rank70} * (@{skill-rank70} + 1) / 2)" disabled="true">
<!--Skill Line 1-->
Expand Down

0 comments on commit 04f1d03

Please sign in to comment.