aboutsummaryrefslogtreecommitdiff
path: root/src/server/database/Database/Implementation
diff options
context:
space:
mode:
authorRoc13x <roc13x@gmail.com>2018-03-05 21:50:57 +0000
committerShauren <shauren.trinity@gmail.com>2018-03-05 22:50:57 +0100
commita9f75558dc583624ea83afcd36a6cbd7a4088940 (patch)
tree7f95dd5f3ac3985178c021bf19506517cc05b4f5 /src/server/database/Database/Implementation
parent58930d273fca5b7cd92f0f5ff987890d50373c59 (diff)
Core/Items: PvP item levels basic implementation (#20160)
Diffstat (limited to 'src/server/database/Database/Implementation')
-rw-r--r--src/server/database/Database/Implementation/HotfixDatabase.cpp3
-rw-r--r--src/server/database/Database/Implementation/HotfixDatabase.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/src/server/database/Database/Implementation/HotfixDatabase.cpp b/src/server/database/Database/Implementation/HotfixDatabase.cpp
index 0bca8efafb7..9ac48c17b5c 100644
--- a/src/server/database/Database/Implementation/HotfixDatabase.cpp
+++ b/src/server/database/Database/Implementation/HotfixDatabase.cpp
@@ -700,6 +700,9 @@ void HotfixDatabaseConnection::DoPrepareStatements()
// PvpDifficulty.db2
PrepareStatement(HOTFIX_SEL_PVP_DIFFICULTY, "SELECT ID, BracketID, MinLevel, MaxLevel, MapID FROM pvp_difficulty ORDER BY ID DESC", CONNECTION_SYNCH);
+ // PvpItem.db2
+ PrepareStatement(HOTFIX_SEL_PVP_ITEM, "SELECT ID, ItemID, ItemLevelBonus FROM pvp_item ORDER BY ID DESC", CONNECTION_SYNCH);
+
// PvpReward.db2
PrepareStatement(HOTFIX_SEL_PVP_REWARD, "SELECT ID, HonorLevel, Prestige, RewardPackID FROM pvp_reward ORDER BY ID DESC", CONNECTION_SYNCH);
diff --git a/src/server/database/Database/Implementation/HotfixDatabase.h b/src/server/database/Database/Implementation/HotfixDatabase.h
index eb8d0e9c596..f3711b2ded6 100644
--- a/src/server/database/Database/Implementation/HotfixDatabase.h
+++ b/src/server/database/Database/Implementation/HotfixDatabase.h
@@ -373,6 +373,8 @@ enum HotfixDatabaseStatements : uint32
HOTFIX_SEL_PVP_DIFFICULTY,
+ HOTFIX_SEL_PVP_ITEM,
+
HOTFIX_SEL_PVP_REWARD,
HOTFIX_SEL_PVP_TALENT,