diff --git a/js/damage_calc.js b/js/damage_calc.js index 1651b84..a3404eb 100644 --- a/js/damage_calc.js +++ b/js/damage_calc.js @@ -144,8 +144,8 @@ function calculateSpellDamage(stats, weapon, _conversions, use_spell_damage, ign // Collect total damage post %boost } - let total_elem_min = total_min - damages[0][0]; - let total_elem_max = total_max - damages[0][1]; + let total_elem_min = total_min - save_prop[0][0]; + let total_elem_max = total_max - save_prop[0][1]; // 5.2: Raw application. let prop_raw = stats.get(specific_boost_str.toLowerCase()+'Raw') + stats.get('damRaw'); diff --git a/js/load_ing.js b/js/load_ing.js index ccb2152..a9d3f44 100644 --- a/js/load_ing.js +++ b/js/load_ing.js @@ -72,7 +72,6 @@ async function load_ings_old_version(version_str) { } url = `${baseUrl}/data/${version_str}/recipes.json`; - console.log(url); result = await (await fetch(url)).json(); recipes = result.recipes; @@ -95,7 +94,6 @@ async function load_ings() { ings = result; url = baseUrl + "/recipes_compress.json?"+new Date(); - console.log(url); result = await (await fetch(url)).json(); recipes = result.recipes;