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

[svn] * Little fix in RandomMovementGenerator?
* Updated to 6731 and 680

Original author: Neo2003
Date: 2008-10-06 04:48:59-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/QuestDef.h

    r2 r18  
    115115    // Flags used at server and sended to client 
    116116    QUEST_FLAGS_STAY_ALIVE     = 1,                         // Not used currently 
    117     QUEST_FLAGS_EVENT          = 2,                         // Not used currently 
     117    QUEST_FLAGS_PARTY_ACCEPT   = 2,                         // Not used currently. If player in party, all players that can accept this quest will receive confirmation box to accept quest CMSG_QUEST_CONFIRM_ACCEPT/SMSG_QUEST_CONFIRM_ACCEPT 
    118118    QUEST_FLAGS_EXPLORATION    = 4,                         // Not used currently 
    119119    QUEST_FLAGS_SHARABLE       = 8,                         // Can be shared: Player::CanShareQuest() 
     
    168168        // table data accessors: 
    169169        uint32 GetQuestId() const { return QuestId; } 
     170        uint32 GetQuestMethod() const { return QuestMethod; } 
    170171        int32  GetZoneOrSort() const { return ZoneOrSort; } 
    171172        int32  GetSkillOrClass() const { return SkillOrClass; } 
     
    213214        uint32 GetQuestCompleteScript() const { return QuestCompleteScript; } 
    214215        bool   IsRepeatable() const { return QuestFlags & QUEST_MANGOS_FLAGS_REPEATABLE; } 
    215         bool   IsAutoComplete() const { return Objectives.empty(); } 
     216        bool   IsAutoComplete() const { return QuestMethod ? false : true; } 
    216217        uint32 GetFlags() const { return QuestFlags; } 
    217218        bool   IsDaily() const { return QuestFlags & QUEST_FLAGS_DAILY; } 
     
    256257    protected: 
    257258        uint32 QuestId; 
     259        uint32 QuestMethod; 
    258260        int32  ZoneOrSort; 
    259261        int32  SkillOrClass;