1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 21:53:51 +00:00

Use base skill value when calculating rank requirements

This commit is contained in:
Andrei Kortunov 2017-09-07 21:06:10 +04:00
parent dca31b7ffa
commit dc0313a36f

View file

@ -380,7 +380,7 @@ bool MWMechanics::NpcStats::hasSkillsForRank (const std::string& factionId, int
for (int i=0; i<7; ++i) for (int i=0; i<7; ++i)
{ {
if (faction.mData.mSkills[i] != -1) if (faction.mData.mSkills[i] != -1)
skills.push_back (static_cast<int> (getSkill (faction.mData.mSkills[i]).getModified())); skills.push_back (static_cast<int> (getSkill (faction.mData.mSkills[i]).getBase()));
} }
if (skills.empty()) if (skills.empty())