Core/Spells: Load spell label data for future use

Port From (https://github.com/TrinityCore/TrinityCore/commit/e1f3f1254c3214c0a5b71db6de33f8900903d314)
This commit is contained in:
hondacrx
2021-06-04 16:26:25 -04:00
parent fee15ee311
commit 69a832b162
6 changed files with 48 additions and 3 deletions
@@ -988,6 +988,9 @@ namespace Framework.Database
"RtOperandType1, RtOperandType2, RtOperandType3, RtOperandType4, RtOperandType5, RtOperand1, RtOperand2, RtOperand3, RtOperand4, RtOperand5, " +
"Logic1, Logic2, Logic3, Logic4, Logic5 FROM spell_item_enchantment_condition");
// SpellLabel.db2
PrepareStatement(HotfixStatements.SEL_SPELL_LABEL, "SELECT ID, LabelID, SpellID FROM spell_label");
// SpellLearnSpell.db2
PrepareStatement(HotfixStatements.SEL_SPELL_LEARN_SPELL, "SELECT ID, SpellID, LearnSpellID, OverridesSpellID FROM spell_learn_spell");
@@ -1693,6 +1696,8 @@ namespace Framework.Database
SEL_SPELL_ITEM_ENCHANTMENT_CONDITION,
SEL_SPELL_LABEL,
SEL_SPELL_LEARN_SPELL,
SEL_SPELL_LEVELS,