Core/Spells: Implemented new SpellMisc field, MinDuration that controls minimum spell missile travel time
Port From (https://github.com/TrinityCore/TrinityCore/commit/a63d404e7bf2dce3b15ce5f66ac98fe71a41f51c)
This commit is contained in:
@@ -63,6 +63,7 @@ namespace Game.Spells
|
||||
RangeEntry = CliDB.SpellRangeStorage.LookupByKey(_misc.RangeIndex);
|
||||
Speed = _misc.Speed;
|
||||
LaunchDelay = _misc.LaunchDelay;
|
||||
MinDuration = _misc.MinDuration;
|
||||
SchoolMask = (SpellSchoolMask)_misc.SchoolMask;
|
||||
IconFileDataId = _misc.SpellIconFileDataID;
|
||||
ActiveIconFileDataId = _misc.ActiveIconFileDataID;
|
||||
@@ -3937,6 +3938,7 @@ namespace Game.Spells
|
||||
public SpellRangeRecord RangeEntry { get; set; }
|
||||
public float Speed { get; set; }
|
||||
public float LaunchDelay { get; set; }
|
||||
public float MinDuration { get; set; }
|
||||
public uint StackAmount { get; set; }
|
||||
public uint[] Totem = new uint[SpellConst.MaxTotems];
|
||||
public uint[] TotemCategory = new uint[SpellConst.MaxTotems];
|
||||
|
||||
Reference in New Issue
Block a user