# Stat Limit

grog1961
Posts:

**460**✭✭
Is there a limit as to how high a characters stats can go? (strength, health points, mana points. focus, etc.)

0

grog1961
Posts: **460** ✭✭

Is there a limit as to how high a characters stats can go? (strength, health points, mana points. focus, etc.)

0

It looks like you're new here. If you want to get involved, click one of these buttons!

- 42.7K All Categories
- 94 The Latest
- 94 Announcements
- Dev Tracker
- 223 Hob
- 267 Hob General Discussions
- 20.6K Torchlight II
- 13K TL2 General Discussions
- 3.6K TL2 Classes
- 905 Outlander Discussions
- 805 Embermage Discussions
- 759 Berserker Discussions
- 1.1K Engineer Discussions
- 4K TL2 Modding Discussions
- 2K General Modding
- 620 Mod Showcase
- 99 Art and Sound
- 34 Design
- 21 Levels
- 1.3K GUTS Community Help
- 262 TL2 Hardcore Mode
- 222 TL2 Guilds
- 11.7K Torchlight
- 5.6K TL General Discussions
- 1.4K TL Classes
- 676 Alchemist Discussions
- 376 Destroyer Discussions
- 322 Vanquisher Discussions
- 4.7K TL Modding Discussions
- 2.6K General Modding
- 824 Mod Showcase
- 172 Art and Sound
- 102 Design
- 80 Levels
- 926 TorchED Community Help
- 212 TL Hardcore Mode
- 6.6K Help and Support
- 100 Hob Support
- 3.7K Torchlight II Support
- 2.8K Torchlight Support
- 2.7K Support Discussions (PC/Mac/Linux)
- 126 Support Discussions (Xbox)
- 4.2K Et Cetera
- 4.2K Off-Topic Discussions

**15****Guests**

Powered by Vanilla Forums

## Comments

1,855✭The game stores stats internally as signed int32 types, so you'll hit integer rollover if you try to go above 2,147,483,647.

Before that, the beneficial effects from stats are determined by some of the graphs in MEDIA/GRAPHS/STATS/. Two issues here:

One: The graphs use 32-bit floating point numbers. So we can assume that there's almost certainly an int-to-float cast performed somewhere along the line. 32-bit floats can represent numbers up to 3.402823466*10^38. However, they start running out of precision much, much sooner than that. They only have enough precision to exactly represent whole numbers up through 16,777,216. Beyond that, the whole numbers start rounding into each other. So, for example, if you had 16,777,217 Strength, it would get rounded down to 16,777,216 before getting put into the graph to calculate your damage bonus. The span of whole numbers that get rounded together doubles with every power of two.

Two: Some of the graphs are set to interpolate beyond the last defined point; others aren't. If a graph doesn't interpolate past the last defined point, that point is the highest output you can get, no matter how high the input.

Examples:

Finally, dodge, block, and critical damage are subject to hard caps for all sources taken together (75%, 75%, 500%), which can leave you in a situation where increasing an attribute has no meaning since you're already at the cap.

[edit: I misunderstood what you meant by "stat." The above answer applies to Strength, Vitality, Focus, and Dexterity, which are what most folks around here mean by "stats." As for health and mana, they're floats, so the absolute max is 3.402823466*10^38 and odd rounding behavior will set in above 16,777,216. I don't believe there is any cap for them.]

StashNinja - INFINITE Stash for Torchlight 2

NullMod - Play together in the same multiplayer game with different mods!

460✭✭It's greatly appreciated!

3460✭✭