Difference between revisions of "FStatsHealthLevelMult"

Jump to navigation Jump to search
527 bytes added ,  11:56, 13 May 2006
no edit summary
imported>Lobosolitario
imported>Lobosolitario
|style="background:#ffeded;" |
 
The number by which athe characterplayer's endurance is multiplied to calculate the amount of health to be added when the character levels up. The value produced is rounded down to the nearest whole number. If this value is set to 0.0, character health will be based directly on endurance, with no level bonuses. This only affects the player, levelled NPC and monster health is calculated on a case by case basis, according to multipliers specified in their stats.
 
The characterplayer starts with (Endurance * 2''FPCBaseHealthMult'') amount of health points (''FPCBaseHealthMult'' defaults to 2), and on levelling up, health is recalculated to (Endurance * 2''FPCBaseHealthMult'') + (Endurance * ''FStatsHealthLevelMult'') taking into account any endurance stat changes.
 
For instance, a characterplayer with 50 endurance will have 100 health points at level 1, and, upon reaching level 2, and raising endurance to 52, will have (52*2) + (52*0.1) = 109 health points. If they did not raise endurance, they would have (50*2) + (50*0.1) = 105 health points. At level 3, if endurance was still not changed, they would have 110 health points.
 
<br/><br/>
 
The full formula for calculating player health at a given level should be:
 
Health = (CurrentEndurance * 2''FPCBaseHealthMult'') + [[(StartingEndurance * ''FStatsHealthLevelMult'') + (Current Endurance * ''FStatsHealthLevelMult'')] / 2 ] * (Level - 1)
 
Where CurrentEndurance is the endurance stat value at the desired level, and StartingEndurance is the endurance stat value the character has at level 1.
 
Note: I haven't checked whether Endurance changes are retroactively applied to levelling bonuses, in which case the formula for health at a level would simply be:
 
Health = (CurrentEndurance * ''FPCBaseHealthMult'') + (CurrentEndurance * ''FStatsHealthLevelMult'') * (Level - 1)
 
|-

Navigation menu