mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-28 04:42:10 +01:00
Core/Battleground: Rework BattlegroundScore (#29438)
This commit is contained in:
@@ -1274,6 +1274,11 @@ void HotfixDatabaseConnection::DoPrepareStatements()
|
||||
PrepareStatement(HOTFIX_SEL_PVP_ITEM, "SELECT ID, ItemID, ItemLevelDelta FROM pvp_item WHERE (`VerifiedBuild` > 0) = ?", CONNECTION_SYNCH);
|
||||
PREPARE_MAX_ID_STMT(HOTFIX_SEL_PVP_ITEM, "SELECT MAX(ID) + 1 FROM pvp_item", CONNECTION_SYNCH);
|
||||
|
||||
// PvpStat.db2
|
||||
PrepareStatement(HOTFIX_SEL_PVP_STAT, "SELECT Description, ID, MapID FROM pvp_stat WHERE (`VerifiedBuild` > 0) = ?", CONNECTION_SYNCH);
|
||||
PREPARE_MAX_ID_STMT(HOTFIX_SEL_PVP_STAT, "SELECT MAX(ID) + 1 FROM pvp_stat", CONNECTION_SYNCH);
|
||||
PREPARE_LOCALE_STMT(HOTFIX_SEL_PVP_STAT, "SELECT ID, Description_lang FROM pvp_stat_locale WHERE (`VerifiedBuild` > 0) = ? AND locale = ?", CONNECTION_SYNCH);
|
||||
|
||||
// PvpSeason.db2
|
||||
PrepareStatement(HOTFIX_SEL_PVP_SEASON, "SELECT ID, MilestoneSeason, AllianceAchievementID, HordeAchievementID FROM pvp_season"
|
||||
" WHERE (`VerifiedBuild` > 0) = ?", CONNECTION_SYNCH);
|
||||
|
||||
@@ -729,6 +729,10 @@ enum HotfixDatabaseStatements : uint32
|
||||
HOTFIX_SEL_PVP_ITEM,
|
||||
HOTFIX_SEL_PVP_ITEM_MAX_ID,
|
||||
|
||||
HOTFIX_SEL_PVP_STAT,
|
||||
HOTFIX_SEL_PVP_STAT_MAX_ID,
|
||||
HOTFIX_SEL_PVP_STAT_LOCALE,
|
||||
|
||||
HOTFIX_SEL_PVP_SEASON,
|
||||
HOTFIX_SEL_PVP_SEASON_MAX_ID,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user