Compare commits

..

No commits in common. "a5d17eeac8947cc0ed208bcf218566c773d63ee5" and "fe01045706e642810b73dd4e0c2a6b99b27e6e45" have entirely different histories.

View File

@ -193,9 +193,9 @@
<span class="card-title">Basics</span> <span class="card-title">Basics</span>
<div class="card black"> <div class="card black">
<div class="card-content white-text"> <div class="card-content white-text">
<span class="card-title">Amount (EXPERIMENTAL)</span> <span class="card-title">Amount</span>
<span>How many bad guys? Anything above 1 will enforce average calculations</span><br> <span>How many bad guys? Anything above 1 will enforce average calculations</span><br>
<b class="red-text">Changing this will reset the HP and Damage calculations and deactivate dice rolled HP.</b> <b class="red-text">CHANGING THIS WILL RESET THE HP CALCULATION</b>
<div class="input-field s3"> <div class="input-field s3">
<input placeholder="How many eggs for a cake?" onchange="setMobs()" id="mob_ammount" min="1" type="number" class="white-text validate" /> <input placeholder="How many eggs for a cake?" onchange="setMobs()" id="mob_ammount" min="1" type="number" class="white-text validate" />
</div> </div>
@ -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('average')" /> <span>Averages</span> </label> <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_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>
@ -291,7 +291,6 @@
</div> </div>
<div id="DMG_max_card" class="card black"> <div id="DMG_max_card" class="card black">
<div class="card-content white-text"> <div class="card-content white-text">
<span class="card-title">Max Damage</span>
<span>What's the max ammount of damage the enemy can deal?</span> <span>What's the max ammount of damage the enemy can deal?</span>
<div class="input-field s1"> <div class="input-field s1">
<input placeholder="x times the hit dieces' sides." id="mob_dmg_max" min="1" type="number" class="white-text validate" /> <input placeholder="x times the hit dieces' sides." id="mob_dmg_max" min="1" type="number" class="white-text validate" />
@ -945,14 +944,13 @@
$(".collapsible").collapsible(); $(".collapsible").collapsible();
$("#HP_max_card").hide(); $("#HP_max_card").hide();
$("#HP_hitdice_card").hide(); $("#HP_hitdice_card").hide();
$("#DMG_max_card").hide();
$("#DMG_average_card").hide();
$("#dmg_hitdice").hide(); $("#dmg_hitdice").hide();
$("#mob_multiattack_card").hide("fast"); $("#mob_multiattack_card").hide("fast");
}); });
</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);
@ -1007,7 +1005,7 @@
$("#mob_hp_dice_type").val(""); $("#mob_hp_dice_type").val("");
$("#mob_hp_max").val(""); $("#mob_hp_max").val("");
break; break;
case "average": case "averages":
$("#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");