-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Butchery proficiencies give their benefits below 100% learned #83384
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
base: master
Are you sure you want to change the base?
Conversation
|
The test did not expect this 😆 Looks like I'll need to resolve that |
|
Actually is that my fault? It seems they took too long. Oh of course it's my "fault". Previously we discarded the extra penalty above the integer value, now we're not. |
f2ff584 to
7212255
Compare
|
Looks like it is related to my changes, @kevingranade Is this 8 hour test time for a deer expecting proficiencies or completely amateur? Is there a target time for the other scenario? |
|
Yea this surfaced a bug. |
|
Okay so with all the relevant proficiencies we take around ~4 hours, 51 minutes to full butcher a deer. With only the basic butcher proficiency + skinning proficiencies, it takes ~5 hours, 49 minutes. With only the basic butcher proficiency (and missing both of the skinning proficiencies), it takes ~6 hours, 48 minutes.
AND it looks like we're learning on the job, so that further skews things. |
Update/cleanup/build guard rails for test
7212255 to
8b8b50f
Compare
Maybe just fix focus? Could either be some nominal value to at least flatten gain speed or 0 to eliminate it. I'd say pick any one of those proficiency sets and adjust the expected time to match, about 6 hours is not at all out of line. Ideally you would pass in a list of proficiencies to grant along with the expected time, and just have 3-4 different scenarios represented, but I'm not asking for that to call the PR done. |
Co-authored-by: Anton Simakov <[email protected]>
Summary
Bugfixes "Butchery proficiencies give their benefits below 100% learned"
Purpose of change
Butchery proficiencies didn't work at all before 100% learned, because they were being cast to int.
Describe the solution
Properly handle them as a (double-precision) float.
Also add some debug plumbing to check this in the future.
Extracted from #83314
Describe alternatives you've considered
Testing
Additional context