Fix shaman melee damage

This commit is contained in:
b 2021-03-25 00:18:33 -07:00
parent f352f1ba8f
commit 4b79fe719f

View file

@ -411,8 +411,13 @@ class Build{
adjAtkSpd = 0; adjAtkSpd = 0;
} }
// 0 for melee damage. let damage_mult = 1;
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); 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]; let dex = this.total_skillpoints[1];