diff --git a/index.php b/index.php index 3d61b11..619fd68 100644 --- a/index.php +++ b/index.php @@ -110,7 +110,7 @@
Strategies Do your players play any strategy games? (Chess counts)
- +


@@ -151,7 +151,7 @@
Basics
Amount (EXPERIMENTAL) How many bad guys? Anything above 1 will enforce average calculations
Changing this will reset the HP and Damage calculations and deactivate dice rolled HP. -
+
@@ -478,15 +478,6 @@
-
-
-
-
Calculation for nerds -

This is where the calculation stats would be, IF I HAD ONE.

-
-
-
-
@@ -715,9 +706,12 @@ //Monster Setup //Monster amount - var encounter_amount = $("input[name='mob_ammount']:checked").val(); + var encounter_amount = $("#mob_ammount").val(); // A modifier, that applies the ratio of Enemies to players + + console.log("encounter_amount = " + encounter_amount); + console.log(party_amount); var global_amount_modifier = encounter_amount / party_amount; // What HP Type is used? 1=average 2=rolled 3=max @@ -798,13 +792,18 @@ var encounter_dmgtype_points = 0; $.each($("input[name='dmgtype']:checked"), function() { encounter_dmgtype_points++; + console.log("dmgtype_points = " + encounter_dmgtype_points); //selected_dmgtypes.push($(this).val()); }); $.each($("input[name='dmgtype']"), function() { encounter_dmgtype_possibilities++; + console.log("encounter_dmgtype_possibilities = " + encounter_dmgtype_possibilities); }); - var encounter_dmgtype_score = (20 - encounter_dmgtype_possibilities) + encounter_dmgtype_points * global_amount_modifier; + + + var encounter_dmgtype_score = 20 - encounter_dmgtype_possibilities + encounter_dmgtype_points * global_amount_modifier; + console.log(encounter_dmgtype_score); var encounter_onehit_score = $("input[name='mob_onehits']:checked").val();