Skip to content
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

Level requirement equations #113

Open
fonsleenaars opened this issue May 30, 2022 · 0 comments
Open

Level requirement equations #113

fonsleenaars opened this issue May 30, 2022 · 0 comments
Milestone

Comments

@fonsleenaars
Copy link
Owner

fonsleenaars commented May 30, 2022

There is some inconsistency in the equations that are used to determine the level requirements for uniques in the game.

As an example, Ferrus Gnossi should evaluate to level 47, but in-game it says it's level 48.

itemCostName,records\game\itemcost_uniquelegendary_primary.dbr,
itemLevel,68,
upperBodyLevelEquation,21 + (((itemLevel-30)*0.5)+(totalAttCount*0.75)),

image

Including armor there are 9 properties, which would run the equation:

21 + (((68 - 30) * 0.5) + (9 * 0.75))
21 + ((19) + (6.75))
21 + (25.75)
46.75

Rounded = 47

cc @TheWagi

I'll compile a list of expected values from in-game screenshots, and then we can try to figure out what is going wrong, and what the expected totalAttCount should be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant