Lamthai/game/structs.h

27 lines
666 B
C++

struct Spell {
std::string name;
int damage;
int cost_health, cost_mana;
float precision;
bool zone;
std::vector<int> elements, combinaison;
};
struct Ennemy {
std::string name;
int xp;
int health, shield, speed, tame;
int max_health, max_shield, max_speed, max_tame;
float escape, menace; //Menace comlpexifies the escape, the higher the value is, the less menace it is
std::vector<Spell> spells;
};
struct Player {
std::string name;
int job, xp;
int health, shield, speed, mana, energy;
int max_health, max_shield, max_speed, max_mana, max_energy;
float escape, menace;
std::vector<Spell> spell_book;
};