-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing Values #21
Comments
Those values are listed here: "Rend": {
values: [ "35", "33" ],
}, Cooldown and lucky hit values are not included as part of the description itself, as they're manually defined in parser/node-values.js rather than being datamined directly. This also applies to some other values that were unreasonably complicated to datamine (particularly in a historical context), but for the most part only applies to those two fields currently. |
Thanks for the reply. |
Those values are in diablo4-build-calc/data/barbarian.js Line 1173 in ebe8883
|
Yes I know. |
It's easier to maintain if they're separated, particularly when the total number and/or position of unparsed variables changes from one build to the next. As an example, take Rend's current description and values: description: `Fury Cost: {#}
Lucky Hit Chance: {#}%
Cleave enemies in front of you, dealing {12/13.2/14.4/15.6/16.8/18/19.2/20.4/21.6/22.8}% damage and inflicting {96/105.5/115/125/134.5/144/153.5/163/173/182.5}% Bleeding damage over 5 seconds.
Tags: Core, Bleed, Damage, Physical, Fury, Slashing.`,
values: [ "35", "33" ], If Blizzard were to say, remove the Fury cost, and add three new lines at the top of the description, with only one of them being parsed automatically: description: `Liters of Blood Required: {#}
Minimum Slicing Weapons Equipped: 1
Bleed Stack Limit: {#}
Lucky Hit Chance: {#}%
Cleave enemies in front of you, dealing {12/13.2/14.4/15.6/16.8/18/19.2/20.4/21.6/22.8}% damage and inflicting {96/105.5/115/125/134.5/144/153.5/163/173/182.5}% Bleeding damage over 5 seconds.
Tags: Core, Bleed, Damage, Physical, Fury, Slashing.`,
values: [ "35", "33" ], The existing values in this example would incorrectly map to values: [ "", "", "33" ], .. and that I need to manually define two new values on Rend. If those values instead were automatically inserted into the description text: description: `Liters of Blood Required: 35
Minimum Slicing Weapons Equipped: 1
Bleed Stack Limit: 33
Lucky Hit Chance: {#}%
Cleave enemies in front of you, dealing {12/13.2/14.4/15.6/16.8/18/19.2/20.4/21.6/22.8}% damage and inflicting {96/105.5/115/125/134.5/144/153.5/163/173/182.5}% Bleeding damage over 5 seconds.
Tags: Core, Bleed, Damage, Physical, Fury, Slashing.`, .. I would have no idea what the hell is wrong there, beyond the Lucky Hit Chance value being absent. I now need to check at least 3 other files, and spend significantly more time tracking down the source of the error. That's the long description. The short one is: it's legacy code from back when none of the values were datamined. It ended up still being convenient, so I kept it around. |
Ah, I get it now. Thank you very much for this detailed explanation. Greetings |
Don't now if we should post this here or if you aready know the issuses:
On some skills there are missing vlaues (#) e.G.:
"Rend": { connections: ["Core", "Enhanced Rend"], description: Fury Cost: {#} Lucky Hit Chance: {#}%...
The text was updated successfully, but these errors were encountered: