mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
fix(Core/Spells): On autoshot interrupt send proper packet to cancel autoshot clientside. (#6169)
- Closes #5734 - Closes chromiecraft/chromiecraft#454
This commit is contained in:
@@ -21093,6 +21093,9 @@ void Player::SendAutoRepeatCancel(Unit* target)
|
||||
WorldPacket data(SMSG_CANCEL_AUTO_REPEAT, target->GetPackGUID().size());
|
||||
data << target->GetPackGUID(); // may be it's target guid
|
||||
SendMessageToSet(&data, true);
|
||||
|
||||
// To properly cancel autoshot done by client
|
||||
SendAttackSwingCancelAttack();
|
||||
}
|
||||
|
||||
void Player::SendExplorationExperience(uint32 Area, uint32 Experience)
|
||||
|
||||
Reference in New Issue
Block a user