HOTFIX: damage multipliers from potion effect not being registered
This commit is contained in:
parent
379ebb8224
commit
5106b7b681
1 changed files with 5 additions and 2 deletions
|
@ -50,7 +50,10 @@ let boosts_node = new (class extends ComputeNode {
|
||||||
if (key === "vanish") { def_boost += .15 }
|
if (key === "vanish") { def_boost += .15 }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return [damage_boost, def_boost];
|
let res = new Map();
|
||||||
|
res.set('damageMultiplier', 1+damage_boost);
|
||||||
|
res.set('defMultiplier', 1+def_boost);
|
||||||
|
return res;
|
||||||
}
|
}
|
||||||
})().update();
|
})().update();
|
||||||
|
|
||||||
|
@ -646,7 +649,7 @@ function getMeleeStats(stats, weapon) {
|
||||||
|
|
||||||
let damage_mult = stats.get("damageMultiplier");
|
let damage_mult = stats.get("damageMultiplier");
|
||||||
if (weapon_stats.get("type") === "relik") {
|
if (weapon_stats.get("type") === "relik") {
|
||||||
damage_mult = 0.99; // CURSE YOU WYNNCRAFT
|
damage_mult *= 0.99; // CURSE YOU WYNNCRAFT
|
||||||
//One day we will create WynnWynn and no longer have shaman 99% melee injustice.
|
//One day we will create WynnWynn and no longer have shaman 99% melee injustice.
|
||||||
//In all seriousness 99% is because wynn uses 0.33 to estimate dividing the damage by 3 to split damage between 3 beams.
|
//In all seriousness 99% is because wynn uses 0.33 to estimate dividing the damage by 3 to split damage between 3 beams.
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue