1
0
Fork 0
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:
scrawl 2014-01-14 07:39:44 +01:00
parent b8583124e0
commit 69381c49c7

View file

@ -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();