mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-21 12:47:07 +00:00
feat(Core): Add config for legacy arena team start rating. (#22080)
Co-authored-by: Tereneckla <Tereneckla@pm.me>
This commit is contained in:
@@ -36,7 +36,9 @@ ArenaTeam::ArenaTeam()
|
||||
Stats.WeekGames = 0;
|
||||
Stats.SeasonGames = 0;
|
||||
Stats.Rank = 0;
|
||||
Stats.Rating = sWorld->getIntConfig(CONFIG_ARENA_START_RATING);
|
||||
Stats.Rating = (sArenaSeasonMgr->GetCurrentSeason() < 6)
|
||||
? sWorld->getIntConfig(CONFIG_LEGACY_ARENA_START_RATING)
|
||||
: sWorld->getIntConfig(CONFIG_ARENA_START_RATING);
|
||||
Stats.WeekWins = 0;
|
||||
Stats.SeasonWins = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user