Update index.php

This commit is contained in:
James 2022-09-27 09:27:08 +02:00
parent 94c8378497
commit 1ce9d581e7

View File

@ -261,8 +261,8 @@
<div class="card-content white-text"> <div class="card-content white-text">
<span class="card-title">Damage kind</span> <span class="card-title">Damage kind</span>
<span>Are we using Max, Rolled or Average Damage?</span><br /> <span>Are we using Max, Rolled or Average Damage?</span><br />
<label> <input id="mob_dmg_type_rolled" name="mob_dmg_type" type="radio" checked onchange="usingDMGDice(true)" /> <span>Rolled Damage</span> </label> <label> <input id="mob_dmg_type_rolled" name="mob_dmg_type" type="radio" checked onchange="usingDMGDice('dice')" /> <span>Rolled Damage</span> </label>
<label> <input id="mob_dmg_type_averages" name="mob_dmg_type" type="radio" onchange="usingDMGDice(false)" /> <span>Average Damage</span> </label> <label> <input id="mob_dmg_type_averages" name="mob_dmg_type" type="radio" onchange="usingDMGDice('average')" /> <span>Average Damage</span> </label>
<label> <input id="mob_dmg_type_max" name="mob_dmg_type" type="radio" onchange="usingDMGDice('max')" /> <span>Max Damage</span> </label> <label> <input id="mob_dmg_type_max" name="mob_dmg_type" type="radio" onchange="usingDMGDice('max')" /> <span>Max Damage</span> </label>
</div> </div>
</div> </div>
@ -1066,7 +1066,7 @@
$("#mob_dmg_dice_type").val(""); $("#mob_dmg_dice_type").val("");
$("#mob_dmg_max").val(""); $("#mob_dmg_max").val("");
break; break;
case "averages": case "average":
$("#DMG_max_card").hide("fast"); $("#DMG_max_card").hide("fast");
$("#DMG_hitdice_card").hide("fast"); $("#DMG_hitdice_card").hide("fast");
$("#DMG_average_card").show("fast"); $("#DMG_average_card").show("fast");