Fix shaman melee damage
This commit is contained in:
parent
f352f1ba8f
commit
4b79fe719f
1 changed files with 7 additions and 2 deletions
9
build.js
9
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];
|
||||
|
||||
|
|
Loading…
Reference in a new issue