Core/DataStores: Load ItemModifiedAppearanceExtra.db2

Port From (https://github.com/TrinityCore/TrinityCore/commit/b607bb0a93892734c6a2ce16afc5ea92ffb7fe50)
This commit is contained in:
hondacrx
2021-06-06 14:16:20 -04:00
parent d687d41078
commit 6ab159039b
4 changed files with 35 additions and 0 deletions
@@ -629,6 +629,10 @@ namespace Framework.Database
PrepareStatement(HotfixStatements.SEL_ITEM_MODIFIED_APPEARANCE, "SELECT ID, ItemID, ItemAppearanceModifierID, ItemAppearanceID, OrderIndex, " +
"TransmogSourceTypeEnum FROM item_modified_appearance");
// ItemModifiedAppearanceExtra.db2
PrepareStatement(HotfixStatements.SEL_ITEM_MODIFIED_APPEARANCE_EXTRA, "SELECT ID, IconFileDataID, UnequippedIconFileDataID, SheatheType, " +
"DisplayWeaponSubclassID, DisplayInventoryType FROM item_modified_appearance_extra");
// ItemNameDescription.db2
PrepareStatement(HotfixStatements.SEL_ITEM_NAME_DESCRIPTION, "SELECT ID, Description, Color FROM item_name_description");
PrepareStatement(HotfixStatements.SEL_ITEM_NAME_DESCRIPTION_LOCALE, "SELECT ID, Description_lang FROM item_name_description_locale WHERE locale = ?");
@@ -1514,6 +1518,8 @@ namespace Framework.Database
SEL_ITEM_MODIFIED_APPEARANCE,
SEL_ITEM_MODIFIED_APPEARANCE_EXTRA,
SEL_ITEM_NAME_DESCRIPTION,
SEL_ITEM_NAME_DESCRIPTION_LOCALE,