diff options
| author | SnapperRy <snapperryen@gmail.com> | 2016-07-16 21:10:54 +0200 | 
|---|---|---|
| committer | SnapperRy <snapperryen@gmail.com> | 2016-07-16 21:10:54 +0200 | 
| commit | b4b3c10c69f73a0fd1e8efe4fd8684676f33948d (patch) | |
| tree | d21e02182f2e3df24158e0d2f7f0f5a474d14d0e /src/server/game/Conditions/ConditionMgr.h | |
| parent | cee1c0789acb7d75e453ed355a5d68781a5dec4c (diff) | |
Core/Conditions: implement CONDITION_DAILY_QUEST_DONE to check whether or not a daily quest has been completed by a player in that day.
Also use it to fix two quest chains broken in commit 7905651. Should be the only ones of their kind.
Diffstat (limited to 'src/server/game/Conditions/ConditionMgr.h')
| -rw-r--r-- | src/server/game/Conditions/ConditionMgr.h | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/src/server/game/Conditions/ConditionMgr.h b/src/server/game/Conditions/ConditionMgr.h index 83e714781c3..4ec2be0753a 100644 --- a/src/server/game/Conditions/ConditionMgr.h +++ b/src/server/game/Conditions/ConditionMgr.h @@ -73,7 +73,8 @@ enum ConditionTypes      CONDITION_IN_WATER              = 40,                   // 0                0              0                  true if unit in water      CONDITION_TERRAIN_SWAP          = 41,                   //                                                    only for 6.x      CONDITION_STAND_STATE           = 42,                   // stateType        state          0                  true if unit matches specified sitstate (0,x: has exactly state x; 1,0: any standing state; 1,1: any sitting state;) -    CONDITION_MAX                   = 43                    // MAX +    CONDITION_DAILY_QUEST_DONE      = 43,                   // quest id         0              0                  true if daily quest has been completed for the day +    CONDITION_MAX                   = 44                    // MAX  };  /*! Documentation on implementing a new ConditionSourceType: | 
