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:
Hondacrx
2025-08-13 21:35:10 -04:00
parent dcfe78ba77
commit f6c56c3293
4 changed files with 14 additions and 12 deletions
+2
View File
@@ -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];