mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-21 12:47:07 +00:00
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:
@@ -861,7 +861,7 @@ void Battleground::EndBattleground(PvPTeamId winnerTeamId)
|
||||
UpdatePlayerScore(player, SCORE_BONUS_HONOR, GetBonusHonorFromKill(winner_kills));
|
||||
|
||||
// Xinef: check player level and not bracket level if (CanAwardArenaPoints())
|
||||
if (player->GetLevel() >= BG_AWARD_ARENA_POINTS_MIN_LEVEL)
|
||||
if (player->GetLevel() >= sWorld->getIntConfig(CONFIG_DAILY_RBG_MIN_LEVEL_AP_REWARD))
|
||||
player->ModifyArenaPoints(winner_arena);
|
||||
|
||||
if (!player->GetRandomWinner())
|
||||
|
||||
Reference in New Issue
Block a user