mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 12:42:11 +00:00
25 lines
539 B
C++
25 lines
539 B
C++
#ifndef GAME_MWMECHANICS_NPCSTATS_H
|
|
#define GAME_MWMECHANICS_NPCSTATS_H
|
|
|
|
#include <map>
|
|
|
|
#include "stat.hpp"
|
|
|
|
namespace MWMechanics
|
|
{
|
|
/// \brief Additional stats for NPCs
|
|
///
|
|
/// For non-NPC-specific stats, see the CreatureStats struct.
|
|
|
|
struct NpcStats
|
|
{
|
|
// NPCs other than the player can only have one faction. But for the sake of consistency
|
|
// we use the same data structure for the PC and the NPCs.
|
|
std::map<std::string, int> mFactionRank;
|
|
|
|
Stat<float> mSkill[27];
|
|
};
|
|
}
|
|
|
|
#endif
|