fix(Core/Spells): updates trajectory target selection (#23031)
Co-authored-by: xinef1 <w.szyszko2@gmail.com>
This commit is contained in:
parent
bac2ae4e11
commit
0d1f885b57
7 changed files with 65 additions and 133 deletions
|
|
@ -855,6 +855,9 @@ void WorldSession::HandleUpdateProjectilePosition(WorldPacket& recvPacket)
|
|||
pos.Relocate(x, y, z);
|
||||
spell->m_targets.ModDst(pos);
|
||||
|
||||
// we changed dest, recalculate flight time
|
||||
spell->RecalculateDelayMomentForDst();
|
||||
|
||||
WorldPacket data(SMSG_SET_PROJECTILE_POSITION, 21);
|
||||
data << casterGuid;
|
||||
data << uint8(castCount);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue