mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 05:09:43 +00:00
Added a todo comment
This commit is contained in:
parent
b8583124e0
commit
69381c49c7
1 changed files with 3 additions and 0 deletions
|
@ -901,6 +901,9 @@ namespace MWMechanics
|
|||
static float fSneakSkillMult = store.find("fSneakSkillMult")->getFloat();
|
||||
static float fSneakBootMult = store.find("fSneakBootMult")->getFloat();
|
||||
float sneak = 0;
|
||||
// TODO: According to Hrnchamd Research:Movement, "Creatures have generalized combat, magic and stealth
|
||||
// stats which substitute for the specific skills (in the same way as specializations)."
|
||||
// This probably applies to a large part of the code base.
|
||||
if (ptr.getClass().isNpc())
|
||||
sneak = ptr.getClass().getNpcStats(ptr).getSkill(ESM::Skill::Sneak).getModified();
|
||||
int agility = stats.getAttribute(ESM::Attribute::Agility).getModified();
|
||||
|
|
Loading…
Reference in a new issue