Clean up, remove prints
This commit is contained in:
parent
d4706ebb74
commit
24a7dd9592
1 changed files with 0 additions and 2 deletions
|
@ -129,10 +129,8 @@ function calculate_skillpoints(equipment, weapon) {
|
||||||
if (consider.length > 0 || noboost.length > 0 || crafted.length > 0) {
|
if (consider.length > 0 || noboost.length > 0 || crafted.length > 0) {
|
||||||
// Try every combination and pick the best one.
|
// Try every combination and pick the best one.
|
||||||
const [root, terminal, sccs] = construct_scc_graph(consider);
|
const [root, terminal, sccs] = construct_scc_graph(consider);
|
||||||
console.log(sccs);
|
|
||||||
const end_checks = crafted.concat(noboost);
|
const end_checks = crafted.concat(noboost);
|
||||||
end_checks.push(weapon);
|
end_checks.push(weapon);
|
||||||
// naive way first.
|
|
||||||
|
|
||||||
function check_end(skillpoints_applied, skillpoints, activeSetCounts, total_applied) {
|
function check_end(skillpoints_applied, skillpoints, activeSetCounts, total_applied) {
|
||||||
// Crafted skillpoint does not count initially.
|
// Crafted skillpoint does not count initially.
|
||||||
|
|
Loading…
Reference in a new issue