Core/Spells: Remade trajectory target selection

Port From (https://github.com/TrinityCore/TrinityCore/commit/3f7fe6f8a51f61083b4940eaadddc3b390f8e238)
This commit is contained in:
hondacrx
2019-08-15 11:51:44 -04:00
parent ee098676c2
commit bab0bbdf3c
8 changed files with 109 additions and 137 deletions
+3
View File
@@ -569,6 +569,9 @@ namespace Game
pos.Relocate(packet.CollisionPos);
spell.m_targets.ModDst(pos);
// we changed dest, recalculate flight time
spell.RecalculateDelayMomentForDst();
NotifyMissileTrajectoryCollision data = new NotifyMissileTrajectoryCollision();
data.Caster = packet.Target;
data.CastID = packet.CastID;