mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-29 08:33:47 +00:00
fix(Core/Spells): updates trajectory target selection (#23031)
Co-authored-by: xinef1 <w.szyszko2@gmail.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user