Core/SmartScripts: implement SMART_ACTION_PLAY_SPELL_VISUAL_KIT
Port From (https://github.com/TrinityCore/TrinityCore/commit/7d999b70a1640b5dbe3042f59463814f13cdc834)
This commit is contained in:
@@ -248,6 +248,7 @@ namespace Game.DataStorage
|
||||
SpellShapeshiftFormStorage = DBReader.Read<SpellShapeshiftFormRecord>("SpellShapeshiftForm.db2", HotfixStatements.SEL_SPELL_SHAPESHIFT_FORM, HotfixStatements.SEL_SPELL_SHAPESHIFT_FORM_LOCALE);
|
||||
SpellTargetRestrictionsStorage = DBReader.Read<SpellTargetRestrictionsRecord>("SpellTargetRestrictions.db2", HotfixStatements.SEL_SPELL_TARGET_RESTRICTIONS);
|
||||
SpellTotemsStorage = DBReader.Read<SpellTotemsRecord>("SpellTotems.db2", HotfixStatements.SEL_SPELL_TOTEMS);
|
||||
SpellVisualKitStorage = DBReader.Read<SpellVisualKitRecord>("SpellVisualKit.db2", HotfixStatements.SEL_SPELL_VISUAL_KIT);
|
||||
SpellXSpellVisualStorage = DBReader.Read<SpellXSpellVisualRecord>("SpellXSpellVisual.db2", HotfixStatements.SEL_SPELL_X_SPELL_VISUAL);
|
||||
SummonPropertiesStorage = DBReader.Read<SummonPropertiesRecord>("SummonProperties.db2", HotfixStatements.SEL_SUMMON_PROPERTIES);
|
||||
//TactKeyStorage = DBReader.Read<TactKeyRecord>("TactKey.db2", HotfixStatements.SEL_TACT_KEY);
|
||||
@@ -593,6 +594,7 @@ namespace Game.DataStorage
|
||||
public static DB6Storage<SpellShapeshiftFormRecord> SpellShapeshiftFormStorage;
|
||||
public static DB6Storage<SpellTargetRestrictionsRecord> SpellTargetRestrictionsStorage;
|
||||
public static DB6Storage<SpellTotemsRecord> SpellTotemsStorage;
|
||||
public static DB6Storage<SpellVisualKitRecord> SpellVisualKitStorage;
|
||||
public static DB6Storage<SpellXSpellVisualRecord> SpellXSpellVisualStorage;
|
||||
public static DB6Storage<SummonPropertiesRecord> SummonPropertiesStorage;
|
||||
//public static DB6Storage<TactKeyRecord> TactKeyStorage;
|
||||
|
||||
@@ -527,6 +527,16 @@ namespace Game.DataStorage
|
||||
public uint[] Totem = new uint[SpellConst.MaxTotems];
|
||||
}
|
||||
|
||||
public sealed class SpellVisualKitRecord
|
||||
{
|
||||
public uint Id;
|
||||
public int Flags;
|
||||
public sbyte FallbackPriority;
|
||||
public uint FallbackSpellVisualKitId;
|
||||
public ushort DelayMin;
|
||||
public ushort DelayMax;
|
||||
}
|
||||
|
||||
public sealed class SpellXSpellVisualRecord
|
||||
{
|
||||
public uint Id;
|
||||
|
||||
Reference in New Issue
Block a user