Changeset 149 for trunk/src/game/Unit.h

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.h

    r143 r149  
    647647        CommandStates GetCommandState() { return m_CommandState; } 
    648648        bool HasCommandState(CommandStates state) { return (m_CommandState == state); } 
    649         void SetReactState(ReactStates st) { m_ReactSate = st; } 
    650         ReactStates GetReactState() { return m_ReactSate; } 
    651         bool HasReactState(ReactStates state) { return (m_ReactSate == state); } 
     649        void SetReactState(ReactStates st) { m_reactState = st; } 
     650                ReactStates GetReactState() { return m_reactState; } 
     651                bool HasReactState(ReactStates state) { return (m_reactState == state); } 
    652652 
    653653        void InitPossessCreateSpells(); 
     
    666666        CharmSpellEntry m_charmspells[4]; 
    667667        CommandStates   m_CommandState; 
    668         ReactStates     m_ReactSate; 
     668        ReactStates     m_reactState; 
    669669        uint32          m_petnumber; 
    670670};