TrinityCore/TrinityCore — Issue #5347: [PetAI] Pets on 'stay' do not behave properly
Author: MrSmite
Created: 2012-02-21 17:20:21+00:00
State: open

Rev: 355fe08e04e198131a462a03530d8a57377ff3ae
OS: XP SP3
DB: 26 + updates

There are two bugs with the 'stay' command

Bug: When clicking 'stay' while moving, the pet doesn't stop until it reaches the point where the Player was
Expected: The pet should stop immediately where it is when 'stay' is clicked

Bug: When on 'stay' and a mob gets within melee range, the pet will move to the mob to attack
Expected: Pets should not move from their stay location. If the mob leaves melee range the pet should remain stationary