Revert skillpoint bug
This commit is contained in:
parent
4dc86e77bc
commit
5788b9eae3
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ function calculate_skillpoints(equipment, weapon) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (item.get("reqs")[i] == 0) continue;
|
if (item.get("reqs")[i] == 0) continue;
|
||||||
skillpoint_min[i] = Math.max(skillpoint_min[i], item.get("reqs")[i]);// + item.get("skillpoints")[i]);
|
skillpoint_min[i] = Math.max(skillpoint_min[i], item.get("reqs")[i] + item.get("skillpoints")[i]);
|
||||||
const req = item.get("reqs")[i];
|
const req = item.get("reqs")[i];
|
||||||
const cur = skillpoints[i];
|
const cur = skillpoints[i];
|
||||||
if (req > cur) {
|
if (req > cur) {
|
||||||
|
|
Loading…
Reference in a new issue