mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
fix(Core/Battleground/PvPstats): correct bracket_id for AV (#10677)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
INSERT INTO `version_db_characters` (`sql_rev`) VALUES ('1644943100668922283');
|
||||
|
||||
UPDATE `pvpstats_battlegrounds`
|
||||
SET `bracket_id` = `bracket_id` + 1
|
||||
WHERE `type` = 1;
|
||||
@@ -2017,5 +2017,5 @@ void Battleground::RewardXPAtKill(Player* killer, Player* victim)
|
||||
|
||||
uint8 Battleground::GetUniqueBracketId() const
|
||||
{
|
||||
return GetMinLevel() / 10;
|
||||
return GetMaxLevel() / 10;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user