Re-revert powder change >:(
This commit is contained in:
parent
fd1340c3ca
commit
810218f5d9
2 changed files with 5 additions and 2 deletions
|
@ -2,7 +2,7 @@ const url_tag = location.hash.slice(1);
|
|||
console.log(url_base);
|
||||
console.log(url_tag);
|
||||
|
||||
const BUILD_VERSION = "6.9.33";
|
||||
const BUILD_VERSION = "6.9.34";
|
||||
|
||||
function setTitle() {
|
||||
let text;
|
||||
|
|
|
@ -45,7 +45,10 @@ function calculateSpellDamage(stats, spellConversions, rawModifier, pctModifier,
|
|||
let rawBoosts = [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0]];
|
||||
let powders = weapon.get("powders").slice();
|
||||
|
||||
|
||||
//Double powder apply for weapons - this implementation is wrong
|
||||
if (weapon.get("tier") === "Crafted") {
|
||||
powders = powders.flatMap(x => [x,x]);
|
||||
}
|
||||
|
||||
//apply powders to weapon
|
||||
for (const powderID of powders) {
|
||||
|
|
Loading…
Reference in a new issue