allow specifying minimum levels for difficulties

This commit is contained in:
Martin Michelsen
2023-12-03 23:34:33 -08:00
parent f605a21c1a
commit 501a048af0
7 changed files with 80 additions and 19 deletions
+2 -1
View File
@@ -114,8 +114,9 @@ struct ServerState : public std::enable_shared_from_this<ServerState> {
std::shared_ptr<const MagEvolutionTable> mag_evolution_table;
std::shared_ptr<const ItemNameIndex> item_name_index;
std::shared_ptr<const WordSelectTable> word_select_table;
std::array<std::shared_ptr<const Map::RareEnemyRates>, 4> rare_enemy_rates;
std::array<std::shared_ptr<const Map::RareEnemyRates>, 4> rare_enemy_rates_by_difficulty;
std::shared_ptr<const Map::RareEnemyRates> rare_enemy_rates_challenge;
std::array<std::array<size_t, 4>, 3> min_levels_v4; // Indexed as [episode][difficulty]
// Indexed as [type][difficulty][random_choice]
std::vector<std::vector<std::vector<ItemData>>> quest_F95E_results;