Difference between revisions of "FNPCAttributeHealthMult"
Jump to navigation
Jump to search
imported>ShadowDancer m (formatting) |
imported>Picador (Updated with testing results) |
||
Line 5: | Line 5: | ||
Affects how the health of the NPC is calculated based on level and endurance. Exactly how the value is applied is unknown. Increasing this value gives NPCs more health. | Affects how the health of the NPC is calculated based on level and endurance. Exactly how the value is applied is unknown. Increasing this value gives NPCs more health. | ||
* NOTE: The formula for NPC health is roughly this: Health = Endurance * 2 * FNPCAttributeHealthMult + (level - 1) * (Endurance * 0.1). The level of Endurance used to calculate the per-level health gain is not known, but an NPC will usually gain about 5 points of health per level, plus any gains from increased Endurance. | |||
Note also that changing the values of FPCBaseHealthMult and FStatsHealthLevelMult do NOT affect NPC health at all; the "0.1" and "2" in the formula above seem to be hard-coded, rather than reflecting the values of those two settings. | |||
Note also that NPC health is calculated differently for "low-level" NPCs: see [[FLowLevelNPCBaseHealthMult]] for details. | |||
|- | |- | ||
!style="background:#ffdead;" |Default value | !style="background:#ffdead;" |Default value |
Revision as of 20:23, 24 October 2009
Description |
Affects how the health of the NPC is calculated based on level and endurance. Exactly how the value is applied is unknown. Increasing this value gives NPCs more health.
Note also that changing the values of FPCBaseHealthMult and FStatsHealthLevelMult do NOT affect NPC health at all; the "0.1" and "2" in the formula above seem to be hard-coded, rather than reflecting the values of those two settings. Note also that NPC health is calculated differently for "low-level" NPCs: see FLowLevelNPCBaseHealthMult for details. |
---|---|
Default value |
0.500 |