fix(Core/Battleground/PvPstats): correct bracket_id for AV (#10677)
This commit is contained in:
parent
658e936ace
commit
fa02edb0ae
2 changed files with 6 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue