Update index.php
This commit is contained in:
parent
54b6044ede
commit
a8d59d8559
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user