Fix crafted skillpoint???
This commit is contained in:
parent
37b1e1c8a8
commit
fd1340c3ca
2 changed files with 3 additions and 2 deletions
|
@ -2,7 +2,7 @@ const url_tag = location.hash.slice(1);
|
||||||
console.log(url_base);
|
console.log(url_base);
|
||||||
console.log(url_tag);
|
console.log(url_tag);
|
||||||
|
|
||||||
const BUILD_VERSION = "6.9.32";
|
const BUILD_VERSION = "6.9.33";
|
||||||
|
|
||||||
function setTitle() {
|
function setTitle() {
|
||||||
let text;
|
let text;
|
||||||
|
|
|
@ -137,7 +137,7 @@ function calculate_skillpoints(equipment, weapon) {
|
||||||
// Crafted skillpoint does not count initially.
|
// Crafted skillpoint does not count initially.
|
||||||
for (const item of crafted) {
|
for (const item of crafted) {
|
||||||
console.log(item)
|
console.log(item)
|
||||||
result = apply_to_fit(skillpoints, item, has_skillpoint, activeSetCounts);
|
result = apply_to_fit(skillpoints, item, allFalse.slice(), activeSetCounts);
|
||||||
console.log(result)
|
console.log(result)
|
||||||
needed_skillpoints = result[0];
|
needed_skillpoints = result[0];
|
||||||
total_diff = result[1];
|
total_diff = result[1];
|
||||||
|
@ -146,6 +146,7 @@ function calculate_skillpoints(equipment, weapon) {
|
||||||
skillpoints_applied[i] += needed_skillpoints[i];
|
skillpoints_applied[i] += needed_skillpoints[i];
|
||||||
skillpoints[i] += needed_skillpoints[i];
|
skillpoints[i] += needed_skillpoints[i];
|
||||||
}
|
}
|
||||||
|
total_applied += total_diff;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (total_applied >= best_total) {
|
if (total_applied >= best_total) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue