Core/Spells: Remade trajectory target selection
Port From (https://github.com/TrinityCore/TrinityCore/commit/3f7fe6f8a51f61083b4940eaadddc3b390f8e238)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user