Update index.php

This commit is contained in:
James 2022-09-27 09:39:12 +02:00
parent 78b243ef15
commit 4e8d44644e

View File

@ -205,7 +205,7 @@
<div class="card-content white-text"> <div class="card-content white-text">
<span class="card-title">Health kind</span> <span class="card-title">Health kind</span>
<span>Are we using Max, Average or rolled HP?</span><br /> <span>Are we using Max, Average or rolled HP?</span><br />
<label> <input id="mob_hp_type_averages" name="mob_hp_type" type="radio" checked onchange="usingHPDice('averages')" /> <span>Averages</span> </label> <label> <input id="mob_hp_type_averages" name="mob_hp_type" type="radio" checked onchange="usingHPDice('average')" /> <span>Averages</span> </label>
<label> <input id="mob_hp_type_rolled" name="mob_hp_type" type="radio" onchange="usingHPDice('dice')" /> <span>Hit Dice</span> </label> <label> <input id="mob_hp_type_rolled" name="mob_hp_type" type="radio" onchange="usingHPDice('dice')" /> <span>Hit Dice</span> </label>
<label> <input id="mob_hp_type_max" name="mob_hp_type" type="radio" onchange="usingHPDice('max')" /> <span>Max</span> </label> <label> <input id="mob_hp_type_max" name="mob_hp_type" type="radio" onchange="usingHPDice('max')" /> <span>Max</span> </label>
</div> </div>
@ -953,7 +953,6 @@
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
function healingMode(t) { function healingMode(t) {
if (t) { if (t) {
if ($("#mob_healing_other_touch").is(':checked') || $("#mob_healing_self").is(':checked') || $("#mob_healing_other_aoe").is(':checked')) { if ($("#mob_healing_other_touch").is(':checked') || $("#mob_healing_self").is(':checked') || $("#mob_healing_other_aoe").is(':checked')) {
$("#mob_healing_noheal").prop("checked", false); $("#mob_healing_noheal").prop("checked", false);
@ -1008,7 +1007,7 @@
$("#mob_hp_dice_type").val(""); $("#mob_hp_dice_type").val("");
$("#mob_hp_max").val(""); $("#mob_hp_max").val("");
break; break;
case "averages": case "average":
$("#HP_max_card").hide("fast"); $("#HP_max_card").hide("fast");
$("#HP_hitdice_card").hide("fast"); $("#HP_hitdice_card").hide("fast");
$("#HP_average_card").show("fast"); $("#HP_average_card").show("fast");