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

    r112 r149  
    206206    CONDITION_QUESTTAKEN            = 9,                    // quest_id     0,      for condition true while quest active. 
    207207    CONDITION_AD_COMMISSION_AURA    = 10,                   // 0            0,      for condition true while one from AD ñommission aura active 
    208 }; 
    209  
    210 #define MAX_CONDITION                 11                    // maximum value in ConditionType enum 
     208        CONDITION_NO_AURA               = 11,                   // spell_id     effindex 
     209        CONDITION_ACTIVE_EVENT          = 12,                   // event_id 
     210}; 
     211 
     212#define MAX_CONDITION                 13                    // maximum value in ConditionType enum 
    211213 
    212214//Player's info 
     
    771773        bool RemoveVendorItem(uint32 entry,uint32 item, bool savetodb = true); 
    772774        bool IsVendorItemValid( uint32 vendor_entry, uint32 item, uint32 maxcount, uint32 ptime, uint32 ExtendedCost, Player* pl = NULL, std::set<uint32>* skip_vendors = NULL, uint32 ORnpcflag = 0) const; 
     775 
    773776    protected: 
    774777        uint32 m_auctionid;