[svn] * Disabled the move and stay commands while pet is possessed
* Make pet come back to its owner after possession ends if it's not currently in combat * Allow the possessed unit to properly change attack targets * Also remove charm effects from charmed target on owner aura cancel --HG-- branch : trunk
This commit is contained in:
1 parent
35a284df7e
commit
c014d6667c
4 files changed
+21
-4
No files matched your search
@@ -78,6 +78,10 @@ void WorldSession::HandlePetAction( WorldPacket & recv_data )
|
||||
switch(flag)
|
||||
{
|
||||
case ACT_COMMAND: //0x0700
|
||||
// Possessed pets are only able to attack
|
||||
if (pet->isPossessed() && spellid != COMMAND_ATTACK)
|
||||
return;
|
||||
|
||||
switch(spellid)
|
||||
{
|
||||
case COMMAND_STAY: //flat=1792 //STAY
|
||||
|
||||
Reference in new issue
Block a user