From 2c793785442ce8e323fbbdbb2e05f3aaf8a4acad Mon Sep 17 00:00:00 2001 From: b Date: Mon, 6 Sep 2021 13:49:12 -0700 Subject: [PATCH] Rainbow raw --- builder.js | 2 +- display.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/builder.js b/builder.js index 45df031..1f42096 100644 --- a/builder.js +++ b/builder.js @@ -3,7 +3,7 @@ const url_tag = location.hash.slice(1); // console.log(url_tag); -const BUILD_VERSION = "7.0.18"; +const BUILD_VERSION = "7.0.19"; function setTitle() { let text; diff --git a/display.js b/display.js index a6007e2..5c9c759 100644 --- a/display.js +++ b/display.js @@ -2067,7 +2067,7 @@ function displaySpellDamage(parent_elem, overallparent_elem, build, spell, spell if (part.type === "damage") { //console.log(build.expandedStats); let _results = calculateSpellDamage(stats, part.conversion, - stats.get("sdRaw"), stats.get("sdPct") + build.externalStats.get("sdPct"), + stats.get("sdRaw") + stats.get("rainbowRaw"), stats.get("sdPct") + build.externalStats.get("sdPct"), part.multiplier / 100, build.weapon, build.total_skillpoints, build.damageMultiplier, build.externalStats); let totalDamNormal = _results[0]; let totalDamCrit = _results[1];