From 4b79fe719fe59d305ae8f32b3a61c405ca748712 Mon Sep 17 00:00:00 2001 From: b Date: Thu, 25 Mar 2021 00:18:33 -0700 Subject: [PATCH] Fix shaman melee damage --- build.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/build.js b/build.js index 27e3532..1a66c24 100644 --- a/build.js +++ b/build.js @@ -411,8 +411,13 @@ class Build{ adjAtkSpd = 0; } - // 0 for melee damage. - let results = calculateSpellDamage(stats, [100, 0, 0, 0, 0, 0], stats.get("mdRaw"), stats.get("mdPct") + this.externalStats.get("mdPct"), 0, this.weapon, this.total_skillpoints, this.damageMultiplier, this.externalStats); + let damage_mult = 1; + if (this.weapon.get("type") === "relik") { + console.log("ASDFASDFASDFA"); + damage_mult = 0.99; // CURSE YOU WYNNCRAFT + } + // 0spellmult for melee damage. + let results = calculateSpellDamage(stats, [100, 0, 0, 0, 0, 0], stats.get("mdRaw"), stats.get("mdPct") + this.externalStats.get("mdPct"), 0, this.weapon, this.total_skillpoints, damage_mult * this.damageMultiplier, this.externalStats); let dex = this.total_skillpoints[1];