mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 20:53:50 +00:00
Fix encumbrance term calculation
This commit is contained in:
parent
a576e9e430
commit
955e2713a9
1 changed files with 1 additions and 1 deletions
|
@ -382,7 +382,7 @@ namespace MWClass
|
|||
const MWMechanics::MagicEffects &mageffects = npcdata->mCreatureStats.getMagicEffects();
|
||||
const float encumbranceTerm = fJumpEncumbranceBase->getFloat() +
|
||||
fJumpEncumbranceMultiplier->getFloat() *
|
||||
(Npc::getEncumbrance(ptr)/Npc::getCapacity(ptr));
|
||||
(1.0f - Npc::getEncumbrance(ptr)/Npc::getCapacity(ptr));
|
||||
|
||||
float a = npcdata->mNpcStats.getSkill(ESM::Skill::Acrobatics).getModified();
|
||||
float b = 0.0f;
|
||||
|
|
Loading…
Reference in a new issue