-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Inverted skill rust value #46598
Comments
I found the following code defining the skill rust rate in the most recent version of the repo:
I've identified the problem: If your intelligence is 14:
This is what you're experiencing. Reversing this will generate the opposite case:
|
I'm also not certain about the conditional operator there.
If I understand conditionals right,
It seems to work in practice, at least, so I'm not gonna poke it. |
I've done some searching, and it seems that skill_rust_modifier value increasing a time between skill rusting from #37281, #37883. So high intelligence must increase this variable. I think "skill rust" name in intelligence description should be changed to something like "skill rust delay" or "skill retention", because currently it is misleading. |
I do not believe so. You are correct in the sense that my codefix is incomplete in its current state; I believe a better option would be to reverse the multiplier values given by @kevingranade -- does this make sense to you? Further edit: I discovered this while taking a closer look through the code:
Observe that the rate calculated by |
That what I was thinking too, before I stumbled upon PR's I mentioned: #37883 where I'm not familiar with C++ game code, and don't know how exactly skill rust calculated, I made this issue due to poor indication of what "skill rust" name in intelligence description does. |
It was almost a year ago so I don't remember very well, looking back at it the code is still pretty obscure U_U" . |
Describe the bug
Higher intelligence increases skill rust and vice versa
Steps To Reproduce
Expected behavior
Higher intelligence must decrease skill rust
Lower intelligence must increase skill rust
Screenshots
Versions and configuration
Additional context
I didn't tested if it is just showing misleading numbers, or higher intelligence indeed increases skill rust.
The text was updated successfully, but these errors were encountered: