mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-03 17:37:18 +00:00
ESSImport: convert level progress
This commit is contained in:
parent
eede2c8e55
commit
5b705196bc
@ -217,6 +217,7 @@ public:
|
||||
}
|
||||
for (int i=0; i<8; ++i)
|
||||
mContext->mPlayer.mObject.mNpcStats.mSkillIncrease[i] = pcdt.mPNAM.mSkillIncreases[i];
|
||||
mContext->mPlayer.mObject.mNpcStats.mLevelProgress = pcdt.mPNAM.mLevelProgress;
|
||||
|
||||
for (std::vector<std::string>::const_iterator it = pcdt.mKnownDialogueTopics.begin();
|
||||
it != pcdt.mKnownDialogueTopics.end(); ++it)
|
||||
|
@ -51,9 +51,11 @@ struct PCDT
|
||||
};
|
||||
struct PNAM
|
||||
{
|
||||
unsigned char mUnknown1[116];
|
||||
unsigned char mUnknown1[4];
|
||||
unsigned char mLevelProgress;
|
||||
unsigned char mUnknown2[111];
|
||||
unsigned char mSkillIncreases[8]; // number of skill increases for each attribute
|
||||
unsigned char mUnknown2[88];
|
||||
unsigned char mUnknown3[88];
|
||||
};
|
||||
#pragma pack(pop)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user