Closed thertzelle closed 1 year ago
This seemed like it was merged in update L, but then taken back out of update M? @riperiperi
This was never merged.
I'll take a look at the conversion change in a little bit. Strange that everyone reported that shortly after I submitted this PR, the outfits were 'fixed', but after the M update they reverted back to the previous invalid state. I'll update the PR. Thanks for taking a look.
Yeah, it looks like it was an issue with the update builder. It took the azure build from this PR instead of the main branch... should be sorted now. I don't think this happened with any other PR (that wasn't an inconsequential dependabot one).
var level = Math.Max(0, Math.Min(2, ((int)avatar.GetPersonData(VMPersonDataVariable.OnlineJobGrade) + 1) / 4));
I updated the code and here is the results:
Job Grade: 0 Level: 0
Job Grade: 1 Level: 0
Job Grade: 2 Level: 0
Job Grade: 3 Level: 1
Job Grade: 4 Level: 1
Job Grade: 5 Level: 1
Job Grade: 6 Level: 1
Job Grade: 7 Level: 2
Job Grade: 8 Level: 2
Job Grade: 9 Level: 2
Job Grade: 10 Level: 2
What
Below I have put together a table, that represents the current values, and the goal values. Job Grade is the current int of job. Expected result column built based on TSOMania game guide, the current computed C# value without round, and the tested C# value with round (the fix), and finally just a confirmation column, on observing the current values using Volcanic.