diff options
author | QAston <qaston@gmail.com> | 2012-02-10 18:49:40 +0100 |
---|---|---|
committer | QAston <qaston@gmail.com> | 2012-02-10 18:49:40 +0100 |
commit | 46b9942f97b5ca4b14fba865b6f60dba61245b03 (patch) | |
tree | 6c8ac741ad6f7bbaa10e6ac4c407813367e9b670 /src/server/game/Conditions/ConditionMgr.h | |
parent | ed3e5d816ab777837a44e9b6ace10b6fe90095e2 (diff) |
Core/Db/Conditions: remove ConditionValue2 parameter CONDITION_SPELL which was used for checking if player doesn't have spell and use NegativeCondition parameter instead.
Diffstat (limited to 'src/server/game/Conditions/ConditionMgr.h')
-rwxr-xr-x | src/server/game/Conditions/ConditionMgr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Conditions/ConditionMgr.h b/src/server/game/Conditions/ConditionMgr.h index f3895130c6a..a81f533817b 100755 --- a/src/server/game/Conditions/ConditionMgr.h +++ b/src/server/game/Conditions/ConditionMgr.h @@ -53,9 +53,9 @@ enum ConditionType CONDITION_MAPID = 22, // map_id 0 0 true if in map_id CONDITION_AREAID = 23, // area_id 0 0 true if in area_id CONDITION_ITEM_TARGET = 24, // ItemRequiredTargetType, TargetEntry, 0 - CONDITION_SPELL = 25, // spell_id bool 0 bool 1 for true 0 for false + CONDITION_SPELL = 25, // spell_id 0 0 true if player has learned spell CONDITION_UNUSED_26 = 26, - CONDITION_LEVEL = 27, // level opt 0 true if player's level is equal to param1 (param2 can modify the statement) + CONDITION_LEVEL = 27, // level opt 0 true if unit's level is equal to param1 (param2 can modify the statement) CONDITION_QUEST_COMPLETE = 28, // quest_id 0 0 true if player has quest_id with all objectives complete, but not yet rewarded CONDITION_NEAR_CREATURE = 29, // creature entry distance 0 true if there is a creature of entry in range CONDITION_NEAR_GAMEOBJECT = 30, // gameobject entry distance 0 true if there is a gameobject of entry in range |