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

[svn] *Implement new player conditions CONDITION_NO_AURA, CONDITION_ACTIVE_EVENT
* Default behaviour of pets for creatures changed to REACT_DEFENSIVE
* Disallowed sending wrapped items as COD
* Prevent loading and saving single target auras for pet in same way as already implemented for player
* Correctly limit use some flask types to zones.
* Fixed extracting common.MPQ under *nix
* Many small xleanups and fixes.
** mangos merge rev.

TEST REV so be careful of creepy crawly bugs!

Original author: KingPin?
Date: 2008-11-02 16:53:46-06:00

Files:
1 modified

Legend:

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

    r143 r149  
    64856485        case 836:                                           // Improved Blizzard (Rank 1) 
    64866486        { 
    6487             if( !procSpell || procSpell->SpellVisual!=9487 ) 
     6487            if( !procSpell || procSpell->SpellVisual!=9487) 
    64886488                return false; 
    64896489            triggered_spell_id = 12484; 
     
    64926492        case 988:                                           // Improved Blizzard (Rank 2) 
    64936493        { 
    6494             if( !procSpell || procSpell->SpellVisual!=9487 ) 
     6494            if( !procSpell || procSpell->SpellVisual!=9487) 
    64956495                return false; 
    64966496            triggered_spell_id = 12485; 
     
    64996499        case 989:                                           // Improved Blizzard (Rank 3) 
    65006500        { 
    6501             if( !procSpell || procSpell->SpellVisual!=9487 ) 
     6501            if( !procSpell || procSpell->SpellVisual!=9487) 
    65026502                return false; 
    65036503            triggered_spell_id = 12486; 
     
    98719871 
    98729872CharmInfo::CharmInfo(Unit* unit) 
    9873 : m_unit(unit), m_CommandState(COMMAND_FOLLOW), m_ReactSate(REACT_PASSIVE), m_petnumber(0) 
     9873: m_unit(unit), m_CommandState(COMMAND_FOLLOW), m_reactState(REACT_PASSIVE), m_petnumber(0) 
    98749874{ 
    98759875    for(int i =0; i<4; ++i)