v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Talk:Attribute
Jump to navigation
Jump to search
How attributes are actually calculated:
- Take the 7 XXX_ATT_RANGE values from the raws as A:B:C:D:E:F:G
- Pick a random number N between 0 and 11999, inclusive
- For N in 0-1999, calculate
X = (1999 - N) * A
andY = (N - 0) * B
- For N in 2000-3999, calculate
X = (3999 - N) * B
andY = (N - 2000) * C
- For N in 4000-5999, calculate
X = (5999 - N) * C
andY = (N - 4000) * D
- For N in 6000-7999, calculate
X = (7999 - N) * D
andY = (N - 6000) * E
- For N in 8000-9999, calculate
X = (9999 - N) * E
andY = (N - 8000) * F
- For N in 10000-11999, calculate
X = (11999 - N) * F
andY = (N - 10000) * G
- For N in 0-1999, calculate
- The attribute value itself is initialized to
(X + Y) / 1999
- The attribute's maximum value is set to either
(value * XXX_ATT_CAP_PERC) / 100
orvalue + D
, whichever is higher
Exactly how this should be translated into a readable form for the article, I'm not sure, but hopefully somebody will be able to manage. --Quietust (talk) 20:22, 30 May 2025 (UTC)