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_tag);
|
||||
|
||||
const BUILD_VERSION = "6.9.32";
|
||||
const BUILD_VERSION = "6.9.33";
|
||||
|
||||
function setTitle() {
|
||||
let text;
|
||||
|
|
|
@ -137,7 +137,7 @@ function calculate_skillpoints(equipment, weapon) {
|
|||
// Crafted skillpoint does not count initially.
|
||||
for (const item of crafted) {
|
||||
console.log(item)
|
||||
result = apply_to_fit(skillpoints, item, has_skillpoint, activeSetCounts);
|
||||
result = apply_to_fit(skillpoints, item, allFalse.slice(), activeSetCounts);
|
||||
console.log(result)
|
||||
needed_skillpoints = result[0];
|
||||
total_diff = result[1];
|
||||
|
@ -146,6 +146,7 @@ function calculate_skillpoints(equipment, weapon) {
|
|||
skillpoints_applied[i] += needed_skillpoints[i];
|
||||
skillpoints[i] += needed_skillpoints[i];
|
||||
}
|
||||
total_applied += total_diff;
|
||||
}
|
||||
|
||||
if (total_applied >= best_total) {
|
||||
|
|
Loading…
Reference in a new issue