benilla-re systems structs docs

s_keyIntPointsSpread

global · ui

Address
0x84f374 · 33 bytes, up to 0x84f394
Type
const char[33]
Meaning
Holds the global string key INT_SPELL_POINTS_SPREAD_TEMPLATE of an amount range printed as integers
Confidence
verified, proof one
Finding
ui/spelltokens#effect-amounts

Finding: Effect amounts in ui: Spell description tokens

$s, $S, $m, $M, $o and $O print one effect's amount. The minimum and maximum of the effect formula (spell/records#effect-amount-formula) at the expander's level are each multiplied by the stack count and, for $o and $O, by the duration over the effect's period (0 counts as 5000 ms, a negative one gives 0), made positive and scaled. A value within 0.001 of a whole number is whole. $m and $M print the minimum and maximum, an integer when whole, else one decimal. The others print one number when the unscaled bounds are equal, else a range: SPELL_POINTS_SPREAD_TEMPLATE for $S, INT_SPELL_POINTS_SPREAD_TEMPLATE for the rest.

The derivation is in the doc.