feat(Core/Battleground): Add config to allow giving points at level 7… (#17821)

* feat(Core/Battleground): Add config to allow giving points at level 70 RBG

* update

* Update Battleground.h
This commit is contained in:
Andrew
2023-11-22 16:10:22 -03:00
committed by GitHub
parent 87b5120250
commit 70e5851c8a
5 changed files with 11 additions and 2 deletions

View File

@@ -417,6 +417,7 @@ enum WorldIntConfigs
CONFIG_CHANGE_FACTION_MAX_MONEY,
CONFIG_WATER_BREATH_TIMER,
CONFIG_AUCTION_HOUSE_SEARCH_TIMEOUT,
CONFIG_DAILY_RBG_MIN_LEVEL_AP_REWARD,
INT_CONFIG_VALUE_COUNT
};

View File

@@ -1281,6 +1281,8 @@ void World::LoadConfigSettings(bool reload)
_bool_configs[CONFIG_ALLOWS_RANK_MOD_FOR_PET_HEALTH] = sConfigMgr->GetOption<bool>("Pet.RankMod.Health", true);
_int_configs[CONFIG_DAILY_RBG_MIN_LEVEL_AP_REWARD] = sConfigMgr->GetOption<bool>("DailyRBGArenaPoints.MinLevel", 71);
_int_configs[CONFIG_AUCTION_HOUSE_SEARCH_TIMEOUT] = sConfigMgr->GetOption<uint32>("AuctionHouse.SearchTimeout", 1000);
///- Read the "Data" directory from the config file