mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-14 01:19:59 +00:00
Use base skill value when calculating rank requirements
This commit is contained in:
parent
dca31b7ffa
commit
dc0313a36f
@ -380,7 +380,7 @@ bool MWMechanics::NpcStats::hasSkillsForRank (const std::string& factionId, int
|
||||
for (int i=0; i<7; ++i)
|
||||
{
|
||||
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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user