Fix typo with skillpoint engine initialization

This commit is contained in:
hppeng 2022-07-17 22:53:24 -05:00
parent 1e4ebee975
commit 0a508ea0ae

View file

@ -189,7 +189,7 @@ function calculate_skillpoints(equipment, weapon) {
}
}
// skip root.
permute_check(1, final_skillpoints, best_skillpoints, best_activeSetCounts, allFalse.slice(), 0, []);
permute_check(1, best_skillpoints, final_skillpoints, best_activeSetCounts, allFalse.slice(), 0, []);
// add extra sp bonus
apply_skillpoints(final_skillpoints, weapon, best_activeSetCounts);