This commit is contained in:
b 2021-05-06 11:37:34 -07:00
parent 9124235eec
commit 033f11292b
4 changed files with 18 additions and 7 deletions

View file

@ -2,16 +2,16 @@
* @param skp - the integer skillpoint count to be converted
*/
function skillPointsToPercentage(skp){
/*if (skp<=0){
if (skp<=0){
return 0.0;
}else if(skp>=150){
return 0.808;
}else{
return (-0.0000000066695* Math.pow(Math.E, -0.00924033 * skp + 18.9) + 1.0771);
//return(-0.0000000066695* Math.pow(Math.E, -0.00924033 * skp + 18.9) + 1.0771).toFixed(3);
}*/
}
//return Math.min(Math.max(0.00,(-0.0000000066695* Math.pow(Math.E, -0.00924033 * skp + 18.9) + 1.0771)),.808);
return clamp((-0.0000000066695* Math.pow(Math.E, -0.00924033 * skp + 18.9) + 1.0771), 0.00, 0.808);
//return clamp((-0.0000000066695* Math.pow(Math.E, -0.00924033 * skp + 18.9) + 1.0771), 0.00, 0.808);
}
/*Turns the input amount of levels into skillpoints available.

View file

@ -3,7 +3,7 @@ const url_tag = location.hash.slice(1);
// console.log(url_tag);
const BUILD_VERSION = "7.0.5";
const BUILD_VERSION = "7.0.6";
function setTitle() {
let text;

View file

@ -11,7 +11,7 @@
"lvl": 60,
"hprPct": 30,
"mr": 3,
"strReq": 50,
"strReq": 0,
"dexReq": 0,
"intReq": 50,
"agiReq": 50,
@ -24,7 +24,9 @@
"expd": 25,
"fDamPct": 30,
"wDamPct": 35,
"aDefPct": -90,
"type": "helmet",
"restrict": "Untradable",
"id": 3553
},
{
@ -49,7 +51,10 @@
"ms": 2,
"mdRaw": 1675,
"eDamPct": 20,
"spd": -10,
"atkTier": -13,
"type": "chestplate",
"restrict": "Untradable",
"id": 3554
},
{
@ -80,6 +85,7 @@
"eDamPct": 15,
"spPct2": -67,
"type": "boots",
"restrict": "Untradable",
"id": 3555
},
{
@ -104,6 +110,8 @@
"def": 0,
"sdPct": 6,
"wDamPct": 8,
"spd": -10,
"fDefPct": -8,
"type": "ring",
"id": 3556
},
@ -137,6 +145,7 @@
"mr": -1,
"ls": 110,
"sdRaw": 110,
"hpBonus": -850,
"type": "wand",
"id": 3557
},
@ -170,6 +179,8 @@
"ms": 2,
"wDamPct": 15,
"eDamPct": 24,
"fDefPct": -20,
"hprRaw": -75,
"type": "leggings",
"id": 3558
},

File diff suppressed because one or more lines are too long