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:
parent
dca31b7ffa
commit
dc0313a36f
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)
|
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())
|
||||||
|
|
Loading…
Reference in a new issue