struct Spell { std::string name; int damage; int cost_health, cost_mana; float precision; bool zone; std::vector 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 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_book; };