Difference between revisions of "FStatsHealthLevelMult"
Jump to navigation
Jump to search
redid formula in language agnoistc format and broken out into smaller terms
imported>DragoonWraith (revert - there is no reason to have a C++ program in lieu of a formula) |
imported>Nezroy (redid formula in language agnoistc format and broken out into smaller terms) |
||
|
<br/><br/>
:endurance_delta = ''CurrentEndurance'' - ''StartingEndurance''
:optimal_lvls = '''floor'''(endurance_delta / ''iLevelUp10Mult'')
:partial_lvls = endurance_delta '''mod''' ''iLevelUp10Mult''
:remain_lvls = ''CurrentLevel'' - optimal_lvls - 1
Health = (CurrentEndurance * ''FPCBaseHealthMult'') + (CurrentEndurance * ''FStatsHealthLevelMult'') * (Level - 1)▼
:base_health = (''CurrentLevel'' - 1) * ''StartingEndurance''
:lvl_health = (optimal_lvls + 1) * ''iLevelUp10Mult'' * optimal_lvls / 2
:max_base = base_health + lvl_health + (endurance_delta * remain_lvls)
:min_base = base_health + lvl_health + (partial_lvls * (optimal_lvls + 1))
<br/>With these terms, the maximum possible health for a given level, assuming endurance was raised as early as possible, is:
▲
<br/>Likewise, the minimum possible health for a given level, assuming endurance was raised as late as possible, is:
:'''floor'''((''CurrentEndurance'' * 2) + (''FStatsHealthLevelMult'' * min_base))
|-
| |||