Fix misc. bugs in bug-reports (#203)

* Archer: geyser stomp crash fix

Add spellcost final %

* Remove prints

* Add raw spell display for The Nothing

* Fix misc bugs in bug-reports

stronger hook, stronger patient hunter crashes
Patch 12 Blade Fury

* Simplify sp formula

Co-authored-by: hppeng <hppeng>
This commit is contained in:
hppeng-wynn 2022-08-14 19:55:02 -07:00 committed by GitHub
parent 7616893e5c
commit 66a8ff2166
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 44 deletions

View file

@ -563,9 +563,7 @@ const atrees = {
"col": 5, "col": 5,
"icon": "node_2" "icon": "node_2"
}, },
"properties": { "properties": { "range": 26 },
"range": 26
},
"effects": [] "effects": []
}, },
{ {
@ -1973,20 +1971,8 @@ const atrees = {
"col": 8, "col": 8,
"icon": "node_0" "icon": "node_0"
}, },
"properties": {}, "properties": { "range": 8 },
"effects": [ "effects": []
{
"type": "raw_stat",
"bonuses": [
{
"type": "prop",
"abil": "Grappling Hook",
"name": "range",
"value": 8
}
]
}
]
}, },
{ {
"display_name": "Cheaper Arrow Bomb (2)", "display_name": "Cheaper Arrow Bomb (2)",
@ -2382,9 +2368,7 @@ const atrees = {
"col": 8, "col": 8,
"icon": "node_1" "icon": "node_1"
}, },
"properties": { "properties": { "max": 80 },
"max": 80
},
"effects": [ "effects": [
{ {
"type": "stat_scaling", "type": "stat_scaling",
@ -2421,24 +2405,13 @@ const atrees = {
"col": 8, "col": 8,
"icon": "node_0" "icon": "node_0"
}, },
"properties": {}, "properties": { "max": 80 },
"effects": [ "effects": [
{ {
"type": "stat_scaling", "type": "stat_scaling",
"slider": true, "slider": true,
"slider_name": "Trap Wait Time", "slider_name": "Trap Wait Time",
"slider_max": 4 "slider_max": 4
},
{
"type": "raw_stat",
"bonuses": [
{
"type": "prop",
"abil": "Patient Hunter",
"name": "max",
"value": 80
}
]
} }
] ]
}, },
@ -7341,15 +7314,7 @@ const atrees = {
"parts": [ "parts": [
{ {
"name": "Per Hit", "name": "Per Hit",
"type": "damage", "multipliers": [ 30, 0, 0, 10, 0, 0 ]
"multipliers": [
30,
0,
0,
10,
0,
0
]
}, },
{ {
"name": "Total Damage", "name": "Total Damage",
@ -8974,7 +8939,12 @@ const atrees = {
"icon": "node_1" "icon": "node_1"
}, },
"properties": {}, "properties": {},
"effects": [] "effects": [{
"type": "add_spell_prop",
"base_spel": 4,
"target_part": "Per Hit",
"multipliers": [ 0, 0, 10, 0, 0, 0 ]
}]
}, },
{ {
"display_name": "More Marks", "display_name": "More Marks",

File diff suppressed because one or more lines are too long

View file

@ -12,7 +12,7 @@ function skillPointsToPercentage(skp){
skp = 150; skp = 150;
} }
const r = 0.9908; const r = 0.9908;
return ((1 - Math.pow(r, skp + 1)) / (1 - r) - 1) / 100.0; return (r/(1-r)*(1 - Math.pow(r, skp))) / 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);
//return(-0.0000000066695* Math.pow(Math.E, -0.00924033 * skp + 18.9) + 1.0771).toFixed(3); //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 Math.min(Math.max(0.00,(-0.0000000066695* Math.pow(Math.E, -0.00924033 * skp + 18.9) + 1.0771)),.808);