Update index.php

This commit is contained in:
James 2022-09-30 09:51:01 +02:00
parent 067f7291e6
commit 0bd7777e0a

View File

@ -789,12 +789,12 @@
var encounter_dmgtype_points = 0;
$.each($("input[name='dmgtype']:checked"), function() {
encounter_dmgtype_points++;
console.log("dmgtype_points = "dmgtype_points);
console.log("dmgtype_points = " + dmgtype_points);
//selected_dmgtypes.push($(this).val());
});
$.each($("input[name='dmgtype']"), function() {
encounter_dmgtype_possibilities++;
console.log("encounter_dmgtype_possibilities = "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;