Difference between revisions of "User:JRoush"
Jump to navigation
Jump to search
→Encumbrance
imported>JRoush m |
imported>JRoush |
||
Line 50: | Line 50: | ||
=== Encumbrance === | === Encumbrance === | ||
Encumbrance is calculated and displayed differently from other actor values. | |||
* The '''Base''' factor is ignored entirely. It is not used in calculation, and cannot be altered by the SetAV command or any magical means. ''However'', it is still included in the return value of the GetBaseAV command, making this command effectively useless. | |||
* The '''Calculated Base''' is the total encumbrance bonus from strength. Unlike most calculated factors, this applies to ''all'' actors, not just the player. | |||
* The '''Maximum Value''' and '''Current Value''' are calculated differently: | |||
Modifier Sum = (Max Modifier + Offset Modifier + Damage Modifier) | |||
if (Modifier Sum < 0) : | |||
Maximum Value = Calculated Base - Modifier Sum | |||
Current Value = Carried Weight | |||
if (Modifier Sum > 0) : | |||
Maximum Value = Calculated Base | |||
Current Value = Carried Weight + Modifier Sum | |||
For this reason, the Current encumbrance of an actor will never be less than their total carried weight, and the Maximum encumbrance will never be less than the value calculated from their strength. | |||
* The GetAV command does not return the Current Value, but rather the sum of carried weight and all modifiers, ''even if the sum of the modifiers is negative'': | |||
GetAV Return Value = Carried Weight + Modifier Sum | |||
This means that GetAV will return the '''wrong''' value if the actor is currently subject to enough effects that reduce encumbrance (e.g. Feather). |