Core/Spells: Fixed effects targeting the caster not hitting him immediately on spell launch if the spell targets a dest
Port From (https://github.com/TrinityCore/TrinityCore/commit/295c8f63269d966812f37a8bd8e988a9f2dc1235)
This commit is contained in:
@@ -702,6 +702,8 @@ namespace Game.Movement
|
||||
|
||||
MoveCharge(dest.X, dest.Y, dest.Z, SPEED_CHARGE, EventId.ChargePrepath);
|
||||
|
||||
// If this is ever changed to not happen immediately then all spell effect handlers that use this must be updated
|
||||
|
||||
// Charge movement is not started when using EVENT_CHARGE_PREPATH
|
||||
MoveSplineInit init = new(_owner);
|
||||
init.MovebyPath(path.GetPath());
|
||||
|
||||
Reference in New Issue
Block a user