Update dps data, update skillpoint formula (thanks lennon\!)

This commit is contained in:
b 2021-06-27 11:38:46 -07:00
parent cc873a66a2
commit d48daeb0e3
4 changed files with 11 additions and 9 deletions

View file

@ -2,14 +2,15 @@
* @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);
} else if (skp>=150) {
skp = 150;
}
const r = 0.9908;
return ((1 - Math.pow(r, skp - 1)) / (1 - r) - 1) / 100.0;
//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);
}

View file

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

View file

@ -6,8 +6,9 @@ The game, of course
Additional Contributors:
- Kiocifer (Icons!)
- Lennon (Skill point formula reversing)
- Phanta (WynnAtlas custom expression parser / item search)
- QuantumNep (Layout code/layout ideas)
- nbcss (Crafted Item mechanics reverse engineering)
- dr_carlos (Hiding UI elements properly, fade animations, proper error handling)
- Atlas Inc discord (feedback, ideas, etc)
- Atlas Inc discord (feedback, ideas, damage calc, etc)

File diff suppressed because one or more lines are too long