Wrong jumping fatigue loss calculations
A bug found by users of fullrest.ru:
OpenMW uses this formula to calculate fatigue loss when jumping:
fatigueDecrease = fatigueJumpBase + (1 - normalizedEncumbrance) * fatigueJumpMult;
See: https://github.com/OpenMW/openmw/blob/master/apps/openmw/mwmechanics/character.cpp#L1756
It means that fatigue loss with empty inventory will be larger than with full inventory.
Note: fFatigueJumpMult = 0.0 by default.
I changed fFatigueJumpMult GMST value to 50 and got this result:
Vanilla game: lesser fatigue loss with empty inventory, larger with full. OpenMW: larger fatigue loss with empty inventory, lesser with full.
Maybe we need to change formula to this:
fatigueDecrease = fatigueJumpBase + normalizedEncumbrance * fatigueJumpMult;
(RM-3843 from redmine: created on 2017-04-24 by Andrei Kortunov, , closed on 2017-05-21 by Andrei Kortunov)
Edited by redmine