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:
parent
40cf7b46d2
commit
62ae4b53e6
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue