From 349d03cd9f05c80e259533c20a398e7d15c119dc Mon Sep 17 00:00:00 2001 From: James <9213561+Gensokian@users.noreply.github.com> Date: Fri, 30 Sep 2022 09:56:05 +0200 Subject: [PATCH] Update index.php --- index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index ba3cae2..85748d5 100644 --- a/index.php +++ b/index.php @@ -789,7 +789,7 @@ var encounter_dmgtype_points = 0; $.each($("input[name='dmgtype']:checked"), function() { encounter_dmgtype_points++; - console.log("dmgtype_points = " + dmgtype_points); + console.log("dmgtype_points = " + encounter_dmgtype_points); //selected_dmgtypes.push($(this).val()); }); $.each($("input[name='dmgtype']"), function() { @@ -798,6 +798,7 @@ }); 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();