Core/ConditionMgr: You can now hide/show the quest marks with conditions (! ?)

note: check only runs at quest giver query!
Using together with CONDITION_SOURCE_TYPE_QUEST_ACCEPT you can totally hide quests

--HG--
branch : trunk
This commit is contained in:
Rat
2010-09-20 10:19:20 +02:00
parent 1d6d11d367
commit 2fb80e4a86
3 changed files with 23 additions and 3 deletions
+3 -2
View File
@@ -80,10 +80,11 @@ enum ConditionSourceType
CONDITION_SOURCE_TYPE_CREATURE_TEMPLATE_VEHICLE = 16,//DONE
CONDITION_SOURCE_TYPE_SPELL = 17,//DONE
CONDITION_SOURCE_TYPE_ITEM_REQUIRED_TARGET = 18,//DONE
CONDITION_SOURCE_TYPE_QUEST_ACCEPT = 19//DONE
CONDITION_SOURCE_TYPE_QUEST_ACCEPT = 19,//DONE
CONDITION_SOURCE_TYPE_QUEST_SHOW_MARK = 20//DONE
};
#define MAX_CONDITIONSOURCETYPE 20
#define MAX_CONDITIONSOURCETYPE 21
struct Condition
{