mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-24 22:26:22 +00:00
fix (Core/Wintergrasp) hearthstone was visibly on cooldown when player left WG (#21620)
Co-authored-by: Hexadecimal <hd@hd.hd>
This commit is contained in:
@@ -410,8 +410,8 @@ void Battlefield::AskToLeaveQueue(Player* player)
|
||||
// Called in WorldSession::HandleHearthAndResurrect
|
||||
void Battlefield::PlayerAskToLeave(Player* player)
|
||||
{
|
||||
// Player leaving Wintergrasp, trigger Hearthstone spell.
|
||||
player->CastSpell(player, 8690, true);
|
||||
// Player leaving Wintergrasp, teleport to homebind possition.
|
||||
player->TeleportTo(player->m_homebindMapId, player->m_homebindX, player->m_homebindY, player->m_homebindZ, player->GetOrientation());
|
||||
}
|
||||
|
||||
// Called in WorldSession::HandleBfEntryInviteResponse
|
||||
|
||||
Reference in New Issue
Block a user