Show
Ignore:
Timestamp:
11/19/08 13:45:43 (17 years ago)
Author:
yumileroy
Message:

[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

Original author: gvcoman
Date: 2008-11-08 23:32:15-06:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/PetHandler.cpp

    r191 r200  
    7979    { 
    8080        case ACT_COMMAND:                                   //0x0700 
     81            // Possessed pets are only able to attack 
     82            if (pet->isPossessed() && spellid != COMMAND_ATTACK) 
     83                return; 
     84 
    8185            switch(spellid) 
    8286            {