Core/Garrisons: Implement SMSG_GARRISON_OPEN_TALENT_NPC opcode

Port From (https://github.com/TrinityCore/TrinityCore/commit/4772c4817f1b34553f1c697e2aedc0372af9aea2)
This commit is contained in:
hondacrx
2022-10-11 20:27:05 -04:00
parent d1f5ca2f49
commit f441175665
10 changed files with 112 additions and 4 deletions
@@ -497,6 +497,11 @@ namespace Framework.Database
PrepareStatement(HotfixStatements.SEL_GARR_SITE_LEVEL_PLOT_INST, "SELECT ID, UiMarkerPosX, UiMarkerPosY, GarrSiteLevelID, GarrPlotInstanceID, UiMarkerSize" +
" FROM garr_site_level_plot_inst");
// GarrTalentTree.db2
PrepareStatement(HotfixStatements.SEL_GARR_TALENT_TREE, "SELECT ID, Name, GarrTypeID, ClassID, MaxTiers, UiOrder, Flags, UiTextureKitID, " +
"GarrTalentTreeType, PlayerConditionID, FeatureTypeIndex, FeatureSubtypeIndex, CurrencyID FROM garr_talent_tree");
PrepareStatement(HotfixStatements.SEL_GARR_TALENT_TREE_LOCALE, "SELECT ID, Name_lang FROM garr_talent_tree_locale WHERE locale = ?");
// GemProperties.db2
PrepareStatement(HotfixStatements.SEL_GEM_PROPERTIES, "SELECT ID, EnchantId, Type FROM gem_properties");
@@ -1533,6 +1538,9 @@ namespace Framework.Database
SEL_GARR_SITE_LEVEL_PLOT_INST,
SEL_GARR_TALENT_TREE,
SEL_GARR_TALENT_TREE_LOCALE,
SEL_GEM_PROPERTIES,
SEL_GLOBAL_CURVE,