Anyways.
I'm sure we've all seen lots of things said about stats, "your base stats can have hidden fractions" and "there's an invisible value for this" and all sorts of stuff like that. So given the en/zero update, I decided to start collecting stats from the client both before and after the update.
I'm not much of a math person, and this is mainly fun for me in the "finding buried treasure" sort of way, so hopefully those of you that like to figure out stats and math can help point out which stats are used for what and maybe figure out some of the new stat formula that came into effect with en/zero.
Here's what I've managed to map out so far, followed by points I find interesting. Do note that there's possibly a lot of values that are straight-up missing.
[spoiler="In-Game Stats"]
[Image: http://s22.postimg.org/5mudzd78h/ingame.png]
[/spoiler]
[spoiler="Matching Stats From Client.exe"]
[Image: http://s22.postimg.org/9up6848o1/stats1.png]
[/spoiler]
Things of note...
- Most stats are stored in the form of a base and then whatever additions do it are done to reach the final value. This means that some stats can reside in multiple places as pieces of themselves (so a stat that shows as 500 might be one piece that's 350 and one that's 100 and one that's the last 50) so it's sort of hard to find some of them because the stats screen only shows the final result for a lot of it.
- Yes, your base stats can have fractions. And yes, these fractions are not displayed. The value is either floored or simply truncated for display, you can see that the base 152.75 Will is simply showing up as "152" in-game.
- The "additional" stats are what's added onto the base to make the total. For all of your "core stats" (STR and such) it's simply one plus the other, though I've never seen the "additional" stat have a fraction except in the special case of heavy armor's DEX cut.
- The "HP (Max Adjusted)" value is max HP accounting for enchants and artisans and such.
- It's kind of funny that your MP pool actually has only three addresses associated with it, versus four for HP and stamina... whereas magic is generally one of the more complex things stat-wise.
- As you can see with the stamina-hunger-conversion thing, most stats are floating-point and can raise and lower a small fraction at a time (and are rounded and slightly-inaccurate the further from the left you go). However outside of your "pools", stats are generally in quarters at the finest.
- DEX comes before INT in RAM, despite it being the other way around on the character screen. And yes, it was like this before en/zero too.
- AP is stored as a two-byte integer, so the max you can save up and display properly is 65535.
- "Max Damage (Added 2?)" is 8 for bare hands, and shows as 25 when I go pally with R5 Sword of Order, confirming the stats on the wiki for that part, at least.
- Your minimum injury rate is capped at your max injury rate, even if you try to set it much higher.
- Injury rate is displayed as a percentage, but it's not float in the client. It's an integer, (1 = 0.1%) and (25 = 2.5%) and so on, it's just fancied-up for display.
- No, I cannot read the stats of other players, other than their CP (I guess that's needed technically) and their HP (client needs that info to render their health bar).
- Sometimes the target changes to NPCS or monsters, but even then I can't read anything except CP and HP. And yes, the Barrier Spikes in provocation do have exactly 1,000,000 HP.
So a lot of things there are listed with question marks because I haven't found all of them (mainly the bases are missing from my data), or I don't know the exact relationship. Like I've found four different values for added minimum damage, so we know there's at least four separate bonuses. Same sort of thing for critical, there's at least three bonus/addition categories.
Stats listed as nothing but "???" don't match anything I know, and the character window does not show any changes when I edit them client-side, so those are purely-hidden stats (or deprecated but still tracked).
Anybody have thoughts, theories, additions, corrections, or suggestions?