Package directory
Technical details
Calculations
Hard-mode bonus
On Hard, eligible recruitment options get five hidden bonus levels’ worth of class growth. The selected starting option determines eligibility. The character joins at the listed level. Luck is excluded. The five-level model is provisional for the Japanese release.
- Add the character’s personal bases to the class bases.
- For each stat with a starting value and a nonzero class growth rate, multiply the rate by the number of hidden bonus levels. At 70% HP growth, five levels give an expected gain of 3.5 HP.
- Draw a multiplier from 7/8 (87.5%) up to but excluding 9/8 (112.5%) and apply it to the absolute value of the expected gain. Multiply the result’s fractional part by 100 to get the rounding threshold. Draw an integer from 0 to 99 and round up if it is below the threshold. Otherwise, round down. For example, 3.75 rounds to 4 on a draw of 0–74 and to 3 on a draw of 75–99. Apply the original sign after rounding.
- Apply the rolled bonus, then any recruitment adjustments. Apply the stat floor and class caps last.
Built-in stats roll in a fixed order, with Luck before Defense and Resistance where applicable. Custom stats follow in key order.
Fixed growth
Fixed growth uses the full fractional amount for the hidden bonus levels. Five levels at 70% HP growth add 3.5 HP before adjustments and caps, with no random variation or rounding to a whole point.
Ordinary level-ups
The first pass rolls HP, Strength, Skill, Speed, Defense, Resistance, and Luck, then custom stats with nonzero growth in key order. If every gain is zero before caps, retry up to twice in the same order. Each retry stops at its first nonzero gain, including a gain on a custom stat.
Changing which custom stats roll or changing their keys can affect retries, later rolls, and the random state carried into future level-ups. Rearranging the same keys in the package has no effect.
Fixed growth
Fixed growth adds the expected gain from one roll per stat for each level gained. A 40% rate adds 0.4 points per level before caps. Empty-level retries do not contribute to this value.
Starting pointsStat keys
For the character stat screen, use canonical keys in stats, statsBonus, and growthRates. Aliases must match the CharacterView’s languageTag. Statlas ignores known aliases used with a different language. For lookup, Statlas normalizes keys to Unicode NFC, trims surrounding whitespace, and converts them to lowercase. Canonical keys take priority.
| Canonical key | English aliases | Japanese aliases |
|---|---|---|
hp_max | HP, Max HP | HP, 最大HP |
strength | Str, Mag, Pow, Str/Mag, Strength/Magic | 力, 魔力, 力/魔力, 力/魔 |
magic | — | — |
skill | Skl | 技 |
speed | Spd | 速さ |
luck | Lck | 幸運 |
defense | Def | 守備 |
resistance | Res | 魔防 |
move | Mov, Movement | 移動 |
con | Constitution | 体格 |
aid | — | 救出 |
A dash means there are no additional aliases for that language. Canonical keys work in every language.