blob: 151a84cb06306e3ff4e3d6ef4de0dd27e6a0ff9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
namespace creatue {
struct Creature_Data {
std::string givenName;
int hpMax;
int hp;
std::vector<std::shared_ptr<entry::Item>> inventory;
std::map<rules::Ability, int> stats;
std::map<rules::Skill, int> skills;
int proficiency;
std::string size;
std::string alignment;
int hdCount;
int hdSides;
std::string speed;
std::vector<rules::Ability> saves;
std::vector<std::string> senses;
std::string langs;
double cr;
bool observant;
std::string natArmorName;
int natArmorBonus;
std::vector<dmgType> dmgImmunities;
std::vector<dmgType> dmgResistances;
std::vector<dmgType> dmgVulnerabilities;
std::vector<dmgType> condImmunities;
std::vector<std::shared_ptr<entry::Feature>> features;
};
}
|