Core/SmartScripts: implement SMART_ACTION_PLAY_SPELL_VISUAL_KIT
Port From (https://github.com/TrinityCore/TrinityCore/commit/7d999b70a1640b5dbe3042f59463814f13cdc834)
This commit is contained in:
@@ -363,7 +363,8 @@ namespace Framework.Constants
|
||||
// 131 - 134 : 3.3.5 reserved
|
||||
PlayCinematic = 135, // reserved for future uses
|
||||
SetMovementSpeed = 136, // movementType, speedInteger, speedFraction
|
||||
End = 131
|
||||
PlaySpellVisualKit = 137, // spellVisualKitId, kitType (unknown values, copypaste from packet dumps), duration
|
||||
End = 138
|
||||
}
|
||||
|
||||
public enum SmartTargets
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user