mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-27 20:32:21 +01:00
Core/Items: Implement ItemLevelSelector.db2 (#20325)
ItemLevelSelector replaced ITEM_BONUS_ITEM_LEVEL_OVERRIDE in 7.2
This commit is contained in:
@@ -490,6 +490,9 @@ void HotfixDatabaseConnection::DoPrepareStatements()
|
||||
"RequiredCurrency2, RequiredCurrency3, RequiredCurrency4, RequiredCurrency5, RequiredArenaSlot, RequiredFactionId, RequiredFactionStanding, "
|
||||
"RequirementFlags, RequiredAchievement FROM item_extended_cost ORDER BY ID DESC", CONNECTION_SYNCH);
|
||||
|
||||
// ItemLevelSelector.db2
|
||||
PrepareStatement(HOTFIX_SEL_ITEM_LEVEL_SELECTOR, "SELECT ID, ItemLevel FROM item_level_selector ORDER BY ID DESC", CONNECTION_SYNCH);
|
||||
|
||||
// ItemLimitCategory.db2
|
||||
PrepareStatement(HOTFIX_SEL_ITEM_LIMIT_CATEGORY, "SELECT ID, Name, Quantity, Flags FROM item_limit_category ORDER BY ID DESC", CONNECTION_SYNCH);
|
||||
PREPARE_LOCALE_STMT(HOTFIX_SEL_ITEM_LIMIT_CATEGORY, "SELECT ID, Name_lang FROM item_limit_category_locale WHERE locale = ?", CONNECTION_SYNCH);
|
||||
|
||||
@@ -274,6 +274,8 @@ enum HotfixDatabaseStatements : uint32
|
||||
|
||||
HOTFIX_SEL_ITEM_EXTENDED_COST,
|
||||
|
||||
HOTFIX_SEL_ITEM_LEVEL_SELECTOR,
|
||||
|
||||
HOTFIX_SEL_ITEM_LIMIT_CATEGORY,
|
||||
HOTFIX_SEL_ITEM_LIMIT_CATEGORY_LOCALE,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user