diff options
| author | Lopfest <lopfest@gmail.com> | 2019-09-01 15:51:01 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2019-09-01 15:51:01 +0200 |
| commit | 7d999b70a1640b5dbe3042f59463814f13cdc834 (patch) | |
| tree | 1ec6a7cd71e56a44bc1e421b716ef9f9311d39ee /src/server/database/Database/Implementation | |
| parent | fa0dc88c23a9d9dc95dd9e444e8f240d91ca241a (diff) | |
Core/SmartScripts: implement SMART_ACTION_PLAY_SPELL_VISUAL_KIT (#23737)
Diffstat (limited to 'src/server/database/Database/Implementation')
| -rw-r--r-- | src/server/database/Database/Implementation/HotfixDatabase.cpp | 4 | ||||
| -rw-r--r-- | src/server/database/Database/Implementation/HotfixDatabase.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/server/database/Database/Implementation/HotfixDatabase.cpp b/src/server/database/Database/Implementation/HotfixDatabase.cpp index 5dcc28fd544..d089893b8b1 100644 --- a/src/server/database/Database/Implementation/HotfixDatabase.cpp +++ b/src/server/database/Database/Implementation/HotfixDatabase.cpp @@ -973,6 +973,10 @@ void HotfixDatabaseConnection::DoPrepareStatements() PrepareStatement(HOTFIX_SEL_SPELL_TOTEMS, "SELECT ID, SpellID, RequiredTotemCategoryID1, RequiredTotemCategoryID2, Totem1, Totem2" " FROM spell_totems ORDER BY ID DESC", CONNECTION_SYNCH); + // SpellVisualKit.db2 + PrepareStatement(HOTFIX_SEL_SPELL_VISUAL_KIT, "SELECT ID, Flags, FallbackPriority, FallbackSpellVisualKitId, DelayMin, DelayMax" + " FROM spell_visual_kit ORDER BY ID DESC", CONNECTION_SYNCH); + // SpellXSpellVisual.db2 PrepareStatement(HOTFIX_SEL_SPELL_X_SPELL_VISUAL, "SELECT ID, DifficultyID, SpellVisualID, Probability, Flags, Priority, SpellIconFileID, " "ActiveIconFileID, ViewerUnitConditionID, ViewerPlayerConditionID, CasterUnitConditionID, CasterPlayerConditionID, SpellID" diff --git a/src/server/database/Database/Implementation/HotfixDatabase.h b/src/server/database/Database/Implementation/HotfixDatabase.h index 18aa7c60cf7..aa062cd5554 100644 --- a/src/server/database/Database/Implementation/HotfixDatabase.h +++ b/src/server/database/Database/Implementation/HotfixDatabase.h @@ -510,6 +510,8 @@ enum HotfixDatabaseStatements : uint32 HOTFIX_SEL_SPELL_TOTEMS, + HOTFIX_SEL_SPELL_VISUAL_KIT, + HOTFIX_SEL_SPELL_X_SPELL_VISUAL, HOTFIX_SEL_SUMMON_PROPERTIES, |
