mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
fix: correct BattlemasterList.dbc IDs for arenas and Isle of Conquest
Arena and BG type IDs now match actual 3.3.5a BattlemasterList.dbc: Nagrand Arena=4, Blade's Edge=5, Ruins of Lordaeron=8, Dalaran Sewers=10, Ring of Valor=11, Isle of Conquest=30, Random BG=32.
This commit is contained in:
parent
5d5083683f
commit
2e134b686d
1 changed files with 9 additions and 6 deletions
|
|
@ -16115,18 +16115,21 @@ void GameHandler::handleBattlefieldStatus(network::Packet& packet) {
|
|||
uint32_t statusId = packet.readUInt32();
|
||||
|
||||
// Map BG type IDs to their names (stable across all three expansions)
|
||||
// BattlemasterList.dbc IDs (3.3.5a)
|
||||
static const std::pair<uint32_t, const char*> kBgNames[] = {
|
||||
{1, "Alterac Valley"},
|
||||
{2, "Warsong Gulch"},
|
||||
{3, "Arathi Basin"},
|
||||
{4, "Nagrand Arena"},
|
||||
{5, "Blade's Edge Arena"},
|
||||
{6, "All Arenas"},
|
||||
{7, "Eye of the Storm"},
|
||||
{8, "Ruins of Lordaeron"},
|
||||
{9, "Strand of the Ancients"},
|
||||
{11, "Isle of Conquest"},
|
||||
{30, "Nagrand Arena"},
|
||||
{31, "Blade's Edge Arena"},
|
||||
{32, "Dalaran Sewers"},
|
||||
{33, "Ring of Valor"},
|
||||
{34, "Ruins of Lordaeron"},
|
||||
{10, "Dalaran Sewers"},
|
||||
{11, "Ring of Valor"},
|
||||
{30, "Isle of Conquest"},
|
||||
{32, "Random Battleground"},
|
||||
};
|
||||
std::string bgName = "Battleground";
|
||||
for (const auto& kv : kBgNames) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue