mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-08 18:39:29 +00:00
finished loadnpc.hpp, fixed npdt 52byte structure
This commit is contained in:
parent
bc7e154643
commit
2e47290ed0
@ -80,14 +80,14 @@ struct NPC
|
||||
mPersonality,
|
||||
mLuck;
|
||||
|
||||
// mSkill vals are used only in MWMechanics::AttributeValue.setBase(), if less than 0 they are not considered
|
||||
// mSkill cang grow up to 200, it must be unsigned
|
||||
unsigned char mSkills[Skill::Length];
|
||||
|
||||
// at opencs/model/tools/referenceablecheck.cpp:679 is assumed that negative reputation values are invalid, can we assume we won't find any negative value?
|
||||
unsigned char mReputation;
|
||||
char mUnknown1;
|
||||
unsigned short mHealth, mMana, mFatigue;
|
||||
signed char mDisposition, mFactionID, mRank;
|
||||
char mUnknown;
|
||||
signed char mDisposition, mReputation, mRank;
|
||||
char mUnknown2;
|
||||
int mGold;
|
||||
}; // 52 bytes
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user