While debugging my new calculate function on the Armory, I ran into an annoying persistent bug that I couldn't figure out. Discovering the source of the bug blew my mind a bit, and I figured it warranted a thread covering my "discoveries".
[tree title="Relevant notes per stat"]
[branch title="STR"]
[entry]Never caps for ATT calculation. (1 STR = 2.7 ATT rounded down)[/entry]
[entry]Caps at 2000 for lifting objects/etc for STR characters.[/entry]
[entry]Caps at 2000 for Critical Damage for STR characters.[/entry]
[/branch]
[branch title="AGI"]
[entry]Caps at 2000 for DEF calculation. (1 AGI = 0.5 DEF rounded down)[/entry]
[entry]Caps at 2000 for Stamina regeneration calculation.[/entry]
[entry]Caps at 2000 for the smash damage of Lann's smashes affected by AGI.[/entry]
[/branch]
[branch title="INT"]
[entry]Never caps for M.ATT calculation. (1 INT = 2 M.ATT)[/entry]
[entry]Caps at 2000 for lifting objects/etc for INT characters.[/entry]
[entry]Caps at 2000 for Critical Damage for INT characters.[/entry]
[/branch]
[branch title="WIL"]
[entry]Caps at 2000 for Critical calculation. (Roughly 133 WIL = 1 Crit, rounded down)[/entry]
[entry]Caps at 2000 for HP calculation. (1 WIL = 0.6 HP rounded down)[/entry]
[entry]Caps at 2000 for Standing Endurance/Life Flare calculation.[/entry]
[/branch]
[/tree]
Be aware that Transformation breaks these rules (and logic somewhat).
The STR/AGI/INT/WIL from trans is applied separately from your main STR/AGI/INT/WIL, and is not subject to any of these caps. Here is an example of what I mean by this:
You have 2920 STR, capping your Critical Damage at 195 (2000 max).
You transform into Paladin, Stage 2, raising your STR to 4420.
Your Critical Damage is now 217 (195 + 22 from the added 1500 STR).
If Transformation fully uncapped STR for this calculation, the result would instead of be 231 Critical Damage. This applies for all caps, presumably. Stamina regeneration getting faster in trans is untested.
[tree title="Relevant notes per stat"]
[branch title="STR"]
[entry]Never caps for ATT calculation. (1 STR = 2.7 ATT rounded down)[/entry]
[entry]Caps at 2000 for lifting objects/etc for STR characters.[/entry]
[entry]Caps at 2000 for Critical Damage for STR characters.[/entry]
[/branch]
[branch title="AGI"]
[entry]Caps at 2000 for DEF calculation. (1 AGI = 0.5 DEF rounded down)[/entry]
[entry]Caps at 2000 for Stamina regeneration calculation.[/entry]
[entry]Caps at 2000 for the smash damage of Lann's smashes affected by AGI.[/entry]
[/branch]
[branch title="INT"]
[entry]Never caps for M.ATT calculation. (1 INT = 2 M.ATT)[/entry]
[entry]Caps at 2000 for lifting objects/etc for INT characters.[/entry]
[entry]Caps at 2000 for Critical Damage for INT characters.[/entry]
[/branch]
[branch title="WIL"]
[entry]Caps at 2000 for Critical calculation. (Roughly 133 WIL = 1 Crit, rounded down)[/entry]
[entry]Caps at 2000 for HP calculation. (1 WIL = 0.6 HP rounded down)[/entry]
[entry]Caps at 2000 for Standing Endurance/Life Flare calculation.[/entry]
[/branch]
[/tree]
Be aware that Transformation breaks these rules (and logic somewhat).
The STR/AGI/INT/WIL from trans is applied separately from your main STR/AGI/INT/WIL, and is not subject to any of these caps. Here is an example of what I mean by this:
You have 2920 STR, capping your Critical Damage at 195 (2000 max).
You transform into Paladin, Stage 2, raising your STR to 4420.
Your Critical Damage is now 217 (195 + 22 from the added 1500 STR).
If Transformation fully uncapped STR for this calculation, the result would instead of be 231 Critical Damage. This applies for all caps, presumably. Stamina regeneration getting faster in trans is untested.