Core/SmartScripts: implement SMART_ACTION_PLAY_SPELL_VISUAL_KIT

Port From (https://github.com/TrinityCore/TrinityCore/commit/7d999b70a1640b5dbe3042f59463814f13cdc834)
This commit is contained in:
hondacrx
2019-09-05 12:01:18 -04:00
parent 588d7135b2
commit 981e1e04c1
6 changed files with 60 additions and 1 deletions
@@ -963,6 +963,10 @@ namespace Framework.Database
PrepareStatement(HotfixStatements.SEL_SPELL_TOTEMS, "SELECT ID, SpellID, RequiredTotemCategoryID1, RequiredTotemCategoryID2, Totem1, Totem2" +
" FROM spell_totems ORDER BY ID DESC");
// SpellVisualKit.db2
PrepareStatement(HotfixStatements.SEL_SPELL_VISUAL_KIT, "SELECT ID, Flags, FallbackPriority, FallbackSpellVisualKitId, DelayMin, DelayMax" +
" FROM spell_visual_kit ORDER BY ID DESC");
// SpellXSpellVisual.db2
PrepareStatement(HotfixStatements.SEL_SPELL_X_SPELL_VISUAL, "SELECT ID, DifficultyID, SpellVisualID, Probability, Flags, Priority, SpellIconFileID, " +
"ActiveIconFileID, ViewerUnitConditionID, ViewerPlayerConditionID, CasterUnitConditionID, CasterPlayerConditionID, SpellID" +
@@ -1569,6 +1573,8 @@ namespace Framework.Database
SEL_SPELL_TOTEMS,
SEL_SPELL_VISUAL_KIT,
SEL_SPELL_X_SPELL_VISUAL,
SEL_SUMMON_PROPERTIES,