Fix damage calculation for rainbow raw
wow this bug has been here for a LONG time also bump version for ing db
This commit is contained in:
parent
47368aab9f
commit
95a7160dcb
2 changed files with 2 additions and 4 deletions
|
@ -144,8 +144,8 @@ function calculateSpellDamage(stats, weapon, _conversions, use_spell_damage, ign
|
||||||
// Collect total damage post %boost
|
// Collect total damage post %boost
|
||||||
}
|
}
|
||||||
|
|
||||||
let total_elem_min = total_min - damages[0][0];
|
let total_elem_min = total_min - save_prop[0][0];
|
||||||
let total_elem_max = total_max - damages[0][1];
|
let total_elem_max = total_max - save_prop[0][1];
|
||||||
|
|
||||||
// 5.2: Raw application.
|
// 5.2: Raw application.
|
||||||
let prop_raw = stats.get(specific_boost_str.toLowerCase()+'Raw') + stats.get('damRaw');
|
let prop_raw = stats.get(specific_boost_str.toLowerCase()+'Raw') + stats.get('damRaw');
|
||||||
|
|
|
@ -72,7 +72,6 @@ async function load_ings_old_version(version_str) {
|
||||||
}
|
}
|
||||||
|
|
||||||
url = `${baseUrl}/data/${version_str}/recipes.json`;
|
url = `${baseUrl}/data/${version_str}/recipes.json`;
|
||||||
console.log(url);
|
|
||||||
result = await (await fetch(url)).json();
|
result = await (await fetch(url)).json();
|
||||||
recipes = result.recipes;
|
recipes = result.recipes;
|
||||||
|
|
||||||
|
@ -95,7 +94,6 @@ async function load_ings() {
|
||||||
ings = result;
|
ings = result;
|
||||||
|
|
||||||
url = baseUrl + "/recipes_compress.json?"+new Date();
|
url = baseUrl + "/recipes_compress.json?"+new Date();
|
||||||
console.log(url);
|
|
||||||
result = await (await fetch(url)).json();
|
result = await (await fetch(url)).json();
|
||||||
recipes = result.recipes;
|
recipes = result.recipes;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue