mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-06 03:15:33 +00:00
Merge pull request #1433 from akortunov/factionfix
Use base skill value when calculating rank requirements
This commit is contained in:
commit
a7cecd491c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue